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
26
pkgs/tools/security/seccure/default.nix
Normal file
26
pkgs/tools/security/seccure/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, libgcrypt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "seccure";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://point-at-infinity.org/seccure/${pname}-${version}.tar.gz";
|
||||
sha256 = "0nwnk3hfhgvf5xr0xipbh6smfnya22wphc5rj0vgi5d0zr5cwrk5";
|
||||
};
|
||||
|
||||
buildInputs = [ libgcrypt ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e s@/usr/@$out/@g -i Makefile
|
||||
sed -e 's@ln -f@ln -sf@g' -i Makefile
|
||||
mkdir -p $out/bin $out/share/man/man1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://point-at-infinity.org/seccure/";
|
||||
description = "Zero-configuration elliptic curve cryptography utility";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue