Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a8eb2c9ef9e6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 213ff3766c2b
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 23, 2018

  1. neopg: Init at 0.0.4

    erictapen committed Mar 23, 2018
    Copy the full SHA
    ebe1cc2 View commit details
  2. Merge pull request #37700 from erictapen/neopg-init

    neopg: Init at 0.0.4
    Mic92 authored Mar 23, 2018
    Copy the full SHA
    213ff37 View commit details
Showing with 49 additions and 0 deletions.
  1. +47 −0 pkgs/tools/security/neopg/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
47 changes: 47 additions & 0 deletions pkgs/tools/security/neopg/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3812,6 +3812,8 @@ with pkgs;

ndisc6 = callPackage ../tools/networking/ndisc6 { };

neopg = callPackage ../tools/security/neopg { };

netboot = callPackage ../tools/networking/netboot {};

netcat = netcat-openbsd;