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