pkgs: package spot and install on boreal

This commit is contained in:
Antoine Martin 2021-07-14 17:08:19 +02:00
parent 27ae0552eb
commit b4b30cba64
3 changed files with 23 additions and 0 deletions

View file

@ -23,6 +23,8 @@
unstable.beancount
unstable.fava
packages.spot
];
};
}

View file

@ -3,4 +3,5 @@
sddm-sugar-candy = pkgs.callPackage ./sddm-sugar-candy {};
kaleidoscope-udev-rules = pkgs.callPackage ./kaleidoscope-udev-rules {};
grafana-dashboards = pkgs.callPackage ./grafana-dashboards {};
spot = pkgs.callPackage ./spot {};
}

20
pkgs/spot/default.nix Normal file
View file

@ -0,0 +1,20 @@
{ lib, stdenv
, fetchurl
, python3
}:
let
version = "2.9.7";
in
stdenv.mkDerivation {
inherit version;
pname = "spot";
buildInputs = [
python3
];
src = fetchurl {
url = "https://www.lrde.epita.fr/dload/spot/spot-${version}.tar.gz";
sha256 = "sha256-Hupn40Rs27u3Be5uJv2GkCDNt9gsVj/q2ctDlLm6oEw=";
};
}