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
46
pkgs/misc/screensavers/alock/default.nix
Normal file
46
pkgs/misc/screensavers/alock/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
|
||||
, libX11, pam, libgcrypt, libXrender, imlib2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "alock";
|
||||
version = "unstable-2017-07-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arkq";
|
||||
repo = "alock";
|
||||
rev = "2035e1d4a2293432f5503e82d10f899232eb0f38";
|
||||
sha256 = "sha256-Rm00ytSfEv5Wljz4f/4bbyrK3sCV/oRUwz4DKx0pya8=";
|
||||
};
|
||||
|
||||
PAM_DEFAULT_SERVICE = "login";
|
||||
|
||||
configureFlags = [
|
||||
"--enable-pam"
|
||||
"--enable-hash"
|
||||
"--enable-xrender"
|
||||
"--enable-imlib2"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
autoreconfHook libX11
|
||||
pam libgcrypt libXrender imlib2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Arkq/alock";
|
||||
description = "Simple screen lock application for X server";
|
||||
longDescription = ''
|
||||
alock locks the X server until the user enters a password
|
||||
via the keyboard. If the authentification was successful
|
||||
the X server is unlocked and the user can continue to work.
|
||||
|
||||
alock does not provide any fancy animations like xlock or
|
||||
xscreensaver and never will. It's just for locking the current
|
||||
X session.
|
||||
'';
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ftrvxmtrx chris-martin ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue