a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
623 B
Nix
25 lines
623 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
# 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 rec {
|
|
pname = "beep";
|
|
version = "1.4.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spkr-beep";
|
|
repo = "beep";
|
|
rev = "v${version}";
|
|
sha256 = "JLaoiINHpIFWSqsRl8wJ/NeBu7SCcPuT/BzY8szEu0o=";
|
|
};
|
|
|
|
makeFlags = [ "DESTDIR=\${out}" "prefix="];
|
|
|
|
meta = with lib; {
|
|
description = "The advanced PC speaker beeper";
|
|
homepage = "https://github.com/spkr-beep/beep";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|