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
30
pkgs/misc/screensavers/xtrlock-pam/default.nix
Normal file
30
pkgs/misc/screensavers/xtrlock-pam/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, xlibsWrapper, pam }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "xtrlock-pam";
|
||||
version = "3.4-post-20150909";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aanatoly";
|
||||
repo = "xtrlock-pam";
|
||||
rev = "6f4920fcfff54791c0779057e9efacbbbbc05df6";
|
||||
sha256 = "sha256-TFfs418fpjBrAJNGW8U3jE0K7jQkfL4vCquAViKkXPw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ python2 xlibsWrapper pam ];
|
||||
|
||||
configurePhase = ''
|
||||
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
||||
substituteInPlace src/xtrlock.c --replace system-local-login xscreensaver
|
||||
python configure --prefix=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/aanatoly/xtrlock-pam";
|
||||
description = "PAM based X11 screen locker";
|
||||
license = "unknown";
|
||||
maintainers = with lib.maintainers; [ tstrobel ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue