mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
6482d5c3d1
see issue #43716
27 lines
688 B
Nix
27 lines
688 B
Nix
{ stdenv, fetchurl, libgcrypt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "seccure-${version}";
|
|
version = "0.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://point-at-infinity.org/seccure/${name}.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 = stdenv.lib.platforms.unix;
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
};
|
|
}
|