mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
29 lines
721 B
Nix
29 lines
721 B
Nix
{ stdenv, lib, fetchFromGitHub, python3 }:
|
|
stdenv.mkDerivation {
|
|
pname = "encled";
|
|
version = "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 = [ ];
|
|
};
|
|
}
|