2016-05-03 19:13:42 +02:00
|
|
|
{ stdenv, fetchurl, libgcrypt }:
|
2008-03-03 11:48:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-03 19:13:42 +02:00
|
|
|
name = "seccure-${version}";
|
|
|
|
version = "0.5";
|
2009-05-18 13:24:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://point-at-infinity.org/seccure/${name}.tar.gz";
|
2016-05-03 19:13:42 +02:00
|
|
|
sha256 = "0nwnk3hfhgvf5xr0xipbh6smfnya22wphc5rj0vgi5d0zr5cwrk5";
|
2009-05-18 13:24:16 +02:00
|
|
|
};
|
|
|
|
|
2016-05-03 19:13:42 +02:00
|
|
|
buildInputs = [ libgcrypt ];
|
2009-05-18 13:24:16 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e s@/usr/@$out/@g -i Makefile
|
|
|
|
sed -e 's@ln -f@ln -sf@g' -i Makefile
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
2009-05-18 13:24:16 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://point-at-infinity.org/seccure/;
|
|
|
|
description = "Zero-configuration elliptic curve cryptography utility";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-05-18 13:24:16 +02:00
|
|
|
};
|
2008-03-03 11:48:29 +01:00
|
|
|
}
|