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 (which is still in beta) is based on Firefox ESR 115, which will be deprecated in September 2024.
As a comparison, Zotero 6 (currently available in Nixpkgs) is based on Firefox ESR 60, which is deprecated since September 2019.
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
./update.sh $zotero_repo_path submodules