depot/third_party/nixpkgs/pkgs/misc/beep/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
681 B
Nix

{ 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";
sha256 = "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r";
};
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/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}