aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/misc/beep
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-05 12:43:18 +0000
committerKatharina Fey <kookie@spacekookie.de>2019-10-05 12:44:52 +0000
commitcf85056ba64caf3267d43255ef4a1243e9c8ee3b (patch)
tree3051519e9c8275b870aac43f80af875715c9d124 /nixpkgs/pkgs/misc/beep
parent1148b1d122bc03e9a3665856c9b7bb96bd4e3994 (diff)
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
Add 'nixpkgs/' from commit '2436c27541b2f52deea3a4c1691216a02152e729'
git-subtree-dir: nixpkgs git-subtree-mainline: 1148b1d122bc03e9a3665856c9b7bb96bd4e3994 git-subtree-split: 2436c27541b2f52deea3a4c1691216a02152e729
Diffstat (limited to 'nixpkgs/pkgs/misc/beep')
-rw-r--r--nixpkgs/pkgs/misc/beep/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/misc/beep/default.nix b/nixpkgs/pkgs/misc/beep/default.nix
new file mode 100644
index 00000000000..ce097bd5f23
--- /dev/null
+++ b/nixpkgs/pkgs/misc/beep/default.nix
@@ -0,0 +1,25 @@
+{ 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;
+ };
+}