neopg: Init at 0.0.4
This commit is contained in:
parent
c2b10fcf92
commit
ebe1cc211e
47
pkgs/tools/security/neopg/default.nix
Normal file
47
pkgs/tools/security/neopg/default.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchgit
|
||||||
|
, cmake
|
||||||
|
, sqlite
|
||||||
|
, botan2
|
||||||
|
, boost164
|
||||||
|
, curl
|
||||||
|
, gettext
|
||||||
|
, pkgconfig
|
||||||
|
, libusb
|
||||||
|
, gnutls }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "neopg";
|
||||||
|
version = "0.0.4";
|
||||||
|
|
||||||
|
# no fetchFromGitHub, as repo contains submodules
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/das-labor/neopg.git";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "0hhkl326ff6f76k8pwggpzmivbm13fz497nlyy6ybn5bmi9xfblm";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [ cmake sqlite botan2 boost164 curl gettext libusb gnutls ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp src/neopg $out/bin/neopg
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://neopg.io/;
|
||||||
|
description = "Modern replacement for GnuPG 2";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
longDescription = ''
|
||||||
|
NeoPG starts as an opiniated fork of GnuPG 2 to clean up the code and make it easier to develop.
|
||||||
|
It is written in C++11.
|
||||||
|
'';
|
||||||
|
maintainers = with maintainers; [ erictapen ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -3812,6 +3812,8 @@ with pkgs;
|
|||||||
|
|
||||||
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
||||||
|
|
||||||
|
neopg = callPackage ../tools/security/neopg { };
|
||||||
|
|
||||||
netboot = callPackage ../tools/networking/netboot {};
|
netboot = callPackage ../tools/networking/netboot {};
|
||||||
|
|
||||||
netcat = netcat-openbsd;
|
netcat = netcat-openbsd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user