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
31
pkgs/development/libraries/libp11/default.nix
Normal file
31
pkgs/development/libraries/libp11/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
|
||||
, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libp11";
|
||||
version = "0.4.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSC";
|
||||
repo = "libp11";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0hcl706i04nw5c1sj7l6sj6m0yjq6qijz345v498jll58fp5wif8";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--with-enginesdir=${placeholder "out"}/lib/engines"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config libtool ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
|
||||
homepage = "https://github.com/OpenSC/libp11";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue