Merge pull request #107729 from freezeboy/update-beep

beep: 1.3 -> 1.4.9
This commit is contained in:
Sandro 2020-12-27 17:11:04 +01:00 committed by GitHub
commit 534a3330a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,25 +1,25 @@
{ stdenv, fetchurl }: { stdenv, fetchFromGitHub }:
# this package is working only as root # this package is working only as root
# in order to work as a non privileged user you would need to suid the bin # in order to work as a non privileged user you would need to suid the bin
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "beep-1.3"; pname = "beep";
src = fetchurl { version = "1.4.9";
url = "http://www.johnath.com/beep/beep-1.3.tar.gz";
sha256 = "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r"; src = fetchFromGitHub {
owner = "spkr-beep";
repo = "beep";
rev = "v${version}";
sha256 = "JLaoiINHpIFWSqsRl8wJ/NeBu7SCcPuT/BzY8szEu0o=";
}; };
makeFlags = [ "INSTALL_DIR=\${out}/bin/" "MAN_DIR=\${out}/man/man1/" ]; makeFlags = [ "DESTDIR=\${out}" "prefix="];
preInstall = '' meta = with stdenv.lib; {
mkdir -p $out/bin
mkdir -p $out/man/man1
'';
meta = {
description = "The advanced PC speaker beeper"; description = "The advanced PC speaker beeper";
homepage = "http://www.johnath.com/beep/"; homepage = "https://github.com/spkr-beep/beep";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2Only;
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }