2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libgcrypt }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "seccure";
|
|
|
|
version = "0.5";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://point-at-infinity.org/seccure/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0nwnk3hfhgvf5xr0xipbh6smfnya22wphc5rj0vgi5d0zr5cwrk5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libgcrypt ];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.lgpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|