3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/seccure/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
690 B
Nix

{ stdenv, fetchurl, libgcrypt }:
stdenv.mkDerivation rec {
pname = "seccure";
version = "0.5";
src = fetchurl {
url = "http://point-at-infinity.org/seccure/${pname}-${version}.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;
};
}