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
23
pkgs/os-specific/linux/pam_ccreds/default.nix
Normal file
23
pkgs/os-specific/linux/pam_ccreds/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{lib, stdenv, fetchurl, pam, openssl, db}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam_ccreds";
|
||||
version = "10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.padl.com/download/pam_ccreds-${version}.tar.gz";
|
||||
sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
|
||||
};
|
||||
patchPhase = ''
|
||||
sed 's/-o root -g root//' -i Makefile.in
|
||||
'';
|
||||
|
||||
buildInputs = [ pam openssl db ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.padl.com/OSS/pam_ccreds.html";
|
||||
description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue