Merge pull request #107729 from freezeboy/update-beep
beep: 1.3 -> 1.4.9
This commit is contained in:
commit
534a3330a6
1 changed files with 15 additions and 15 deletions
|
@ -1,25 +1,25 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ 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 {
|
||||
name = "beep-1.3";
|
||||
src = fetchurl {
|
||||
url = "http://www.johnath.com/beep/beep-1.3.tar.gz";
|
||||
sha256 = "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "beep";
|
||||
version = "1.4.9";
|
||||
|
||||
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 = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/man/man1
|
||||
'';
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "The advanced PC speaker beeper";
|
||||
homepage = "http://www.johnath.com/beep/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "https://github.com/spkr-beep/beep";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue