uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/misc/beep/default.nix
Normal file
25
pkgs/misc/beep/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ 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.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spkr-beep";
|
||||
repo = "beep";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-gDgGI9F+wW2cN89IwP93PkMv6vixJA2JckF78nxZ+TU=";
|
||||
};
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The advanced PC speaker beeper";
|
||||
homepage = "https://github.com/spkr-beep/beep";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue