pkgs: package spot and install on boreal
This commit is contained in:
parent
27ae0552eb
commit
b4b30cba64
|
@ -23,6 +23,8 @@
|
|||
|
||||
unstable.beancount
|
||||
unstable.fava
|
||||
|
||||
packages.spot
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
20
pkgs/spot/default.nix
Normal 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=";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue