ark/pkgs/applications/misc/dzvol.nix

19 lines
445 B
Nix
Raw Normal View History

2020-06-09 19:36:38 +03:00
{ stdenv, pkgconfig, alsaLib, x11, fetchFromGitHub }:
stdenv.mkDerivation {
name = "dzvol";
src = fetchFromGitHub {
owner = "allevaton";
repo = "dzvol";
rev = "ca7099520525df2d54ad24f6def22819d5f36b3b";
sha256 = "1xx7xai6hzrm3gs026z41pl877y849vpfi71syj6cj3ir9h16lpz";
};
installPhase = ''
mkdir -p $out/bin
cp dzvol $out/bin
'';
buildInputs = [ pkgconfig alsaLib x11 ];
hardeningDisable = [ "format" ];
}