38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{ inputs, ... }:
|
|
{
|
|
|
|
perSystem =
|
|
{ pkgs, system, ... }:
|
|
with pkgs;
|
|
let
|
|
legacy_2311 = import inputs.nixpkgs-legacy_2311 { inherit system; };
|
|
in
|
|
{
|
|
packages.pkl = callPackage ./pkl { };
|
|
packages.otpmenu = callPackage ./otpmenu { };
|
|
#packages.sononym = callPackage ./sononym { };
|
|
#packages.sononym-crawler = callPackage ./sononym-crawler { };
|
|
packages.taskwarrior-hooks = callPackage ./taskwarrior-hooks { };
|
|
|
|
# overrides
|
|
# ---------
|
|
packages.nsxiv = (pkgs.nsxiv.override { conf = builtins.readFile ./nsxiv/config.def.h; });
|
|
|
|
packages.bugwarrior = legacy_2311.python3Packages.bugwarrior.overrideAttrs (old: {
|
|
version = "2024-08-27";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "ralphbean";
|
|
repo = "bugwarrior";
|
|
rev = "25e99834ef79e0a8c7141943810e0aa5152d6710";
|
|
sha256 = "sha256-JPmFP6i/7Ji5LyrKT9WCngWqMyrM00rEXV8QVLwxx1A=";
|
|
};
|
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
|
legacy_2311.python3Packages.pydantic
|
|
legacy_2311.python3Packages.tomli
|
|
legacy_2311.python3Packages.email-validator
|
|
legacy_2311.python3Packages.packaging
|
|
];
|
|
});
|
|
|
|
};
|
|
}
|