This is a best effort to package Zotero to Nixpkgs from the source code.
Zotero officially runs on x86_64-linux
, though this project makes it available for aarch64-linux
.
Zotero 7 is based on Firefox ESR 115, which will be deprecated in September 2024.
nix run github:camillemndn/zotero-nix
{
inputs.zotero-nix.url = "github:camillemndn/zotero-nix";
outputs = { self, nixpkgs, zotero-nix }:
let system = "x86_64-linux"; # Change this to "aarch64-linux" for ARM64 support
in {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
{
environment.systemPackages = [ zotero-nix.packages.${system}.default ];
# The rest of the configuration goes here
}
];
};
};
}
Use:
git clone https://github.com/zotero/zotero $zotero_repo_path
pkgs/update.sh $zotero_repo_path pkgs/submodules <version>