nixpkgs-suyu/pkgs/misc/beep/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
633 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
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
2020-12-27 16:34:29 +01:00
stdenv.mkDerivation rec {
pname = "beep";
version = "1.4.12";
2020-12-27 16:34:29 +01:00
src = fetchFromGitHub {
owner = "spkr-beep";
repo = "beep";
rev = "v${version}";
sha256 = "sha256-gDgGI9F+wW2cN89IwP93PkMv6vixJA2JckF78nxZ+TU=";
2014-01-25 10:28:27 +01:00
};
makeFlags = [ "prefix=${placeholder "out"}"];
2014-01-25 10:28:27 +01:00
meta = with lib; {
2014-01-25 10:28:27 +01:00
description = "The advanced PC speaker beeper";
2020-12-27 16:34:29 +01:00
homepage = "https://github.com/spkr-beep/beep";
license = licenses.gpl2Only;
platforms = platforms.linux;
2014-01-25 10:28:27 +01:00
};
}