2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00: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-29 15:07:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "beep";
|
|
|
|
version = "1.4.9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spkr-beep";
|
|
|
|
repo = "beep";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "JLaoiINHpIFWSqsRl8wJ/NeBu7SCcPuT/BzY8szEu0o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-29 15:07:52 +00:00
|
|
|
makeFlags = [ "DESTDIR=\${out}" "prefix="];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The advanced PC speaker beeper";
|
2020-12-29 15:07:52 +00:00
|
|
|
homepage = "https://github.com/spkr-beep/beep";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|