2018-04-20 02:48:06 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2014-01-25 10:28:27 +01:00
|
|
|
|
|
|
|
# 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";
|
2018-04-20 02:48:06 +02:00
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "http://www.johnath.com/beep/beep-1.3.tar.gz";
|
2018-04-20 02:48:06 +02:00
|
|
|
sha256 = "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r";
|
2014-01-25 10:28:27 +01:00
|
|
|
};
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "INSTALL_DIR=\${out}/bin/" "MAN_DIR=\${out}/man/man1/" ];
|
2014-01-25 10:28:27 +01:00
|
|
|
|
|
|
|
preInstall = ''
|
2018-04-20 02:48:06 +02:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/man/man1
|
2014-01-25 10:28:27 +01:00
|
|
|
'';
|
2018-04-20 02:48:06 +02:00
|
|
|
meta = {
|
2014-01-25 10:28:27 +01:00
|
|
|
description = "The advanced PC speaker beeper";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.johnath.com/beep/";
|
2018-04-20 02:48:06 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-25 10:28:27 +01:00
|
|
|
};
|
|
|
|
}
|