nixos-config/nix/packages/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

2024-09-05 04:21:16 +02:00
{ inputs, ... }:
{
2024-08-29 08:50:06 +02:00
perSystem =
2024-09-05 04:21:16 +02:00
{ pkgs, system, ... }:
2024-08-29 08:50:06 +02:00
with pkgs;
2024-09-05 04:21:16 +02:00
let
legacy_2311 = import inputs.nixpkgs-legacy_2311 { inherit system; };
in
2024-08-29 08:50:06 +02:00
{
packages.pkl = callPackage ./pkl { };
packages.otpmenu = callPackage ./otpmenu { };
#packages.sononym = callPackage ./sononym { };
#packages.sononym-crawler = callPackage ./sononym-crawler { };
packages.taskwarrior-hooks = callPackage ./taskwarrior-hooks { };
2024-09-05 04:21:16 +02:00
# overrides
# ---------
2024-08-30 11:32:00 +02:00
packages.nsxiv = (pkgs.nsxiv.override { conf = builtins.readFile ./nsxiv/config.def.h; });
2024-09-05 04:21:16 +02:00
2024-09-05 15:47:16 +02:00
packages.bugwarrior = python311Packages.bugwarrior.overrideAttrs (old: {
version = "2024-08-27-r1";
2024-09-05 04:21:16 +02:00
src = pkgs.fetchFromGitHub {
owner = "ralphbean";
repo = "bugwarrior";
2024-09-05 04:29:48 +02:00
rev = "25e99834ef79e0a8c7141943810e0aa5152d6710";
sha256 = "sha256-JPmFP6i/7Ji5LyrKT9WCngWqMyrM00rEXV8QVLwxx1A=";
2024-09-05 04:21:16 +02:00
};
propagatedBuildInputs = old.propagatedBuildInputs ++ [
2024-09-05 15:47:16 +02:00
python311Packages.pydantic_1
python311Packages.tomli
python311Packages.email-validator
python311Packages.packaging
2024-09-05 04:21:16 +02:00
];
});
2024-08-29 08:50:06 +02:00
};
}