diff options
author | makefu <github@syntax-fehler.de> | 2020-08-16 21:47:33 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-08-16 21:47:33 +0200 |
commit | 568d45dde9b01f50a89b0b1320f0fa05fe415909 (patch) | |
tree | ee29f511afa615a9ba7eb6d13ed1fb723ab77f39 /makefu/5pkgs/hactool/default.nix | |
parent | a7f67a851b9cc2988169b96b06a9befc89de4c1c (diff) |
ma pkgs.hactool: init at 1.4.0
Diffstat (limited to 'makefu/5pkgs/hactool/default.nix')
-rw-r--r-- | makefu/5pkgs/hactool/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/makefu/5pkgs/hactool/default.nix b/makefu/5pkgs/hactool/default.nix new file mode 100644 index 000000000..fc6f17a9d --- /dev/null +++ b/makefu/5pkgs/hactool/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchFromGitHub +}: +stdenv.mkDerivation rec { + pname = "hactool"; + name = "${pname}-${version}"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "SciresM"; + repo = "hactool"; + rev = version; + sha256 = "0305ngsnwm8npzgyhyifasi4l802xnfz19r0kbzzniirmcn4082d"; + }; + preBuild = '' + cp config.mk.template config.mk + ''; + installPhase = '' + install -D hactool $out/bin/hactool + ''; + buildInputs = [ ]; + nativeBuildInputs = [ ]; + + meta = { + description = "PulseAudio volumene meter"; + homepage = http://0pointer.de/lennart/projects/pavumeter; + license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ makefu ]; + }; +} |