Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
732 B
Nix
34 lines
732 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "encled";
|
|
version = "0-unstable-2022-07-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amarao";
|
|
repo = "sdled";
|
|
rev = "60fd6c728112f2f1feb317355bdb1faf9d2f76da";
|
|
hash = "sha256-40TaS09+X/0oIrdFbPKZJWTDtC2DnDCEMQWMrb/8z+M=";
|
|
};
|
|
|
|
buildInputs = [ python3 ];
|
|
|
|
dontBuild = true;
|
|
installPhase = ''
|
|
install -Dm0755 -t $out/bin/ encled
|
|
install -Dm0644 -t $out/share/man/man8 encled.8
|
|
'';
|
|
|
|
meta = {
|
|
description = "Control fault/locate indicators in disk slots in enclosures";
|
|
mainProgram = "encled";
|
|
homepage = "https://github.com/amarao/sdled";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|