]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - overlays/weboob/default.nix
Move environments to specific attrs
[perso/Immae/Config/Nix.git] / overlays / weboob / default.nix
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 }