tvl-depot/users/glittershark/system/pkgs/alsi/default.nix
Vincent Ambo 81564185e9 Add 'users/glittershark/system/' from commit '3b174300ae60f63f50427cde3bfd680fd3043c3a'
git-subtree-dir: users/glittershark/system
git-subtree-mainline: 85d82a9dc2
git-subtree-split: 3b174300ae
2020-06-16 01:02:24 +01:00

22 lines
462 B
Nix

{ perl, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "alsi";
pname = "alsi";
version = "0.4.8";
src = fetchFromGitHub {
owner = "trizen";
repo = "alsi";
rev = "fe2a925caad38d4cc7afe10d74ba60c5db09ee66";
sha256 = "060xlalfclrda5f1h3svj4v2gr19mdrsc62vrg7hgii0f3lib7j5";
};
buildInputs = [
(perl.withPackages (ps: with ps; [ DataDump ]))
];
installPhase = ''
mkdir -p $out/bin
cp alsi $out/bin/alsi
'';
}