1 { lib, stdenv, fetchFromGitHub }:
3 # this package is working only as root
4 # in order to work as a non privileged user you would need to suid the bin
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-gDgGI9F+wW2cN89IwP93PkMv6vixJA2JckF78nxZ+TU=";
17 makeFlags = [ "prefix=${placeholder "out"}"];
19 # causes redefinition of _FORTIFY_SOURCE
20 hardeningDisable = [ "fortify3" ];
23 description = "Advanced PC speaker beeper";
24 homepage = "https://github.com/spkr-beep/beep";
25 license = licenses.gpl2Only;
26 platforms = platforms.linux;