From ac6bfec23ff1cf0b39e47200b0e33c8614fbdfd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 14 Dec 2018 01:27:33 +0100 Subject: Add some packages weboob slrn sc-im --- default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/default.nix b/default.nix index 1b9b4b0..1844121 100644 --- a/default.nix +++ b/default.nix @@ -33,9 +33,30 @@ let } ); + weboob = pythonPackages.weboob.overrideAttrs (oldAttrs: rec { + postInstall = ''${oldAttrs.postInstall or ""} + mkdir -p $out/share/bash-completion/completions/ + cp tools/weboob_bash_completion $out/share/bash-completion/completions/weboob + ''; + }); + + slrn = nixpkgs.slrn.overrideAttrs (oldAttrs: rec { + version = "1.0.3a"; + name = "slrn-${version}"; + src = fetchurl { + url = "http://www.jedsoft.org/releases/slrn/slrn-${version}.tar.bz2"; + sha256 = "1b1d9iikr60w0vq86y9a0l4gjl0jxhdznlrdp3r405i097as9a1v"; + }; + configureFlags = oldAttrs.configureFlags ++ [ "--with-slrnpull" ]; + }); + #weechat = callPackage nixpkgs.weechat { guileSupport = false; luaSupport = false; rubySupport = false; tclSupport = false; }; in { + inherit nix-prefetch-scripts; inherit ledger; inherit taskwarrior vit; + inherit weboob; + inherit slrn; + inherit sc-im; } -- cgit v1.2.3