2014-01-25 13:28:27 +04:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
# this package is working only as root
|
|
|
|
# in order to work as a non privileged user you would need to suid the bin
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "beep-1.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.johnath.com/beep/beep-1.3.tar.gz;
|
2014-10-12 18:13:21 +04:00
|
|
|
sha256 = "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r";
|
2014-01-25 13:28:27 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "INSTALL_DIR=\${out}/bin/ MAN_DIR=\${out}/man/man1/";
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/man/man1
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "The advanced PC speaker beeper";
|
|
|
|
homepage = http://www.johnath.com/beep/;
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-10-25 19:19:34 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-25 13:28:27 +04:00
|
|
|
};
|
|
|
|
}
|