diff options
Diffstat (limited to 'overlays/weboob')
-rw-r--r-- | overlays/weboob/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/overlays/weboob/default.nix b/overlays/weboob/default.nix new file mode 100644 index 0000000..d0a15a7 --- /dev/null +++ b/overlays/weboob/default.nix | |||
@@ -0,0 +1,15 @@ | |||
1 | self: super: { | ||
2 | weboob = (self.pythonPackages.weboob.overridePythonAttrs { | ||
3 | setupPyBuildFlags = [ "--no-qt" "--xdg" ]; | ||
4 | }).overrideAttrs (old: rec { | ||
5 | version = "1.5"; | ||
6 | src = self.fetchurl { | ||
7 | url = "https://git.weboob.org/weboob/weboob/-/archive/${version}/${old.pname}-${version}.tar.gz"; | ||
8 | sha256 = "0l6q5nm5g0zn6gmf809059kddrbds27wgygxsfkqja9blks5vq7z"; | ||
9 | }; | ||
10 | postInstall = ''${old.postInstall or ""} | ||
11 | mkdir -p $out/share/bash-completion/completions/ | ||
12 | cp tools/weboob_bash_completion $out/share/bash-completion/completions/weboob | ||
13 | ''; | ||
14 | }); | ||
15 | } | ||