3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/seccure/default.nix

27 lines
688 B
Nix
Raw Normal View History

2016-05-03 18:13:42 +01:00
{ stdenv, fetchurl, libgcrypt }:
stdenv.mkDerivation rec {
2016-05-03 18:13:42 +01:00
name = "seccure-${version}";
version = "0.5";
src = fetchurl {
url = "http://point-at-infinity.org/seccure/${name}.tar.gz";
2016-05-03 18:13:42 +01:00
sha256 = "0nwnk3hfhgvf5xr0xipbh6smfnya22wphc5rj0vgi5d0zr5cwrk5";
};
2016-05-03 18:13:42 +01:00
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 = stdenv.lib.platforms.unix;
2018-08-04 17:42:30 +01:00
license = stdenv.lib.licenses.lgpl3;
};
}