nixos-config/nix/packages/default.nix
2024-09-22 12:44:26 +09:00

39 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 = python311Packages.bugwarrior.overrideAttrs (old: {
version = "2024-08-27-r1";
src = pkgs.fetchFromGitHub {
owner = "ralphbean";
repo = "bugwarrior";
rev = "25e99834ef79e0a8c7141943810e0aa5152d6710";
sha256 = "sha256-JPmFP6i/7Ji5LyrKT9WCngWqMyrM00rEXV8QVLwxx1A=";
};
propagatedBuildInputs = old.propagatedBuildInputs ++ [
python311Packages.pydantic_1
python311Packages.tomli
python311Packages.email-validator
python311Packages.packaging
python311Packages.pbr
];
});
};
}