nixpkgs/pkgs/misc/beep/default.nix

26 lines
631 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2014-01-25 09:28:27 +00:00
# this package is working only as root
# in order to work as a non privileged user you would need to suid the bin
2020-12-27 15:34:29 +00:00
stdenv.mkDerivation rec {
pname = "beep";
2022-01-23 22:24:03 +00:00
version = "1.4.11";
2020-12-27 15:34:29 +00:00
src = fetchFromGitHub {
owner = "spkr-beep";
repo = "beep";
rev = "v${version}";
2022-01-23 22:24:03 +00:00
sha256 = "sha256-8g9Nni9lalQvrffhwIv2LFRtLrioUL+lMeDTHH6l6Sk=";
2014-01-25 09:28:27 +00:00
};
2020-12-27 15:34:29 +00:00
makeFlags = [ "DESTDIR=\${out}" "prefix="];
2014-01-25 09:28:27 +00:00
meta = with lib; {
2014-01-25 09:28:27 +00:00
description = "The advanced PC speaker beeper";
2020-12-27 15:34:29 +00:00
homepage = "https://github.com/spkr-beep/beep";
license = licenses.gpl2Only;
platforms = platforms.linux;
2014-01-25 09:28:27 +00:00
};
}