X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=default.nix;h=5227b47df06d030de89ab71808b9a2a08f56c6f7;hb=6b53d1164c3b51999ffef9e11587285c1ac9c7c9;hp=1844121f457f5b118c141e111c305e72f983b17b;hpb=ac6bfec23ff1cf0b39e47200b0e33c8614fbdfd4;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/default.nix b/default.nix index 1844121..5227b47 100644 --- a/default.nix +++ b/default.nix @@ -10,6 +10,15 @@ let src = fetchFromGitHub json.github; }; + fetchedGit = path: + let + json = lib.importJSON path; + in rec { + version = json.tag; + name = "${json.meta.name}-${version}"; + src = fetchgit json.git; + }; + ledger = (nixpkgs.ledger.override { boost = boost166; }).overrideAttrs (oldAttrs: fetchedGithub ./fetched/ledger.json // { postInstall = ""; @@ -50,13 +59,36 @@ let configureFlags = oldAttrs.configureFlags ++ [ "--with-slrnpull" ]; }); + ldapvi = nixpkgs.ldapvi.overrideAttrs (oldAttrs: fetchedGit ./fetched/ldapvi.json); + + nixos = import ./nixos_tools.nix {}; + + pass = nixpkgs.pass.overrideAttrs (oldAttrs: + fetchedGit ./fetched/pass.json // { + patches = oldAttrs.patches ++ [ ./patches/pass-fix-pass-init.patch ]; + } + ); + #weechat = callPackage nixpkgs.weechat { guileSupport = false; luaSupport = false; rubySupport = false; tclSupport = false; }; in { inherit nix-prefetch-scripts; inherit ledger; - inherit taskwarrior vit; + inherit taskwarrior vit timewarrior; inherit weboob; inherit slrn; inherit sc-im; + inherit ldapvi; + inherit pal; + inherit duplicity duply; + inherit pdftk; + inherit googler; + inherit jrnl; + inherit apg; + inherit newsboat; + inherit vcsh; + inherit xmr-stak; + inherit urlwatch; + inherit pass; + #inherit nixos; }