summaryrefslogtreecommitdiff
path: root/overlays/weboob
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-13 21:25:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-24 01:40:13 +0200
commit24fd1fe6c62b7a9fc347794fde043285da272f5c (patch)
tree65557bf1d241ca389b619dbd24d18d51932ee030 /overlays/weboob
downloadNUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip
Initial commit published for NUR
Diffstat (limited to 'overlays/weboob')
-rw-r--r--overlays/weboob/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/overlays/weboob/default.nix b/overlays/weboob/default.nix
new file mode 100644
index 00000000..d0a15a7d
--- /dev/null
+++ b/overlays/weboob/default.nix
@@ -0,0 +1,15 @@
1self: 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}