depot/third_party/nixpkgs/pkgs/tools/security/seccure/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

26 lines
679 B
Nix

{ lib, 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 = lib.platforms.unix;
license = lib.licenses.lgpl3;
};
}