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
35
pkgs/misc/screensavers/xautolock/default.nix
Normal file
35
pkgs/misc/screensavers/xautolock/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, xlibsWrapper
|
||||
, imake, gccmakedep, libXScrnSaver, xorgproto
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xautolock";
|
||||
version = "2.2-7-ga23dd5c";
|
||||
|
||||
# This repository contains xautolock-2.2 plus various useful patches that
|
||||
# were collected from Debian, etc.
|
||||
src = fetchFromGitHub {
|
||||
owner = "peti";
|
||||
repo = "xautolock";
|
||||
rev = "v${version}";
|
||||
sha256 = "10j61rl0sx9sh84rjyfyddl73xb5i2cpb17fyrli8kwj39nw0v2g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
buildInputs = [ xlibsWrapper libXScrnSaver xorgproto ];
|
||||
|
||||
makeFlags = [
|
||||
"BINDIR=$(out)/bin"
|
||||
"MANPATH=$(out)/share/man"
|
||||
];
|
||||
|
||||
installTargets = [ "install" "install.man" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Launch a given program when your X session has been idle for a given time";
|
||||
homepage = "http://www.ibiblio.org/pub/linux/X11/screensavers";
|
||||
maintainers = with maintainers; [ peti ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue