<commit_before>{ stdenv
, fetchFromGitHub
, cmake
, sqlite
, botan2
, boost164
, curl
, gettext
, pkgconfig
, libusb
, gnutls }:

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

  src = fetchFromGitHub {
    owner = "das-labor";
    repo = "neopg";
    rev = "v${version}";
    sha256 = "0hhkl326ff6f76k8pwggpzmivbm13fz497nlyy6ybn5bmi9xfblm";
    fetchSubmodules = true;
  };

  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";<commit_msg>neopg: 0.0.4 -> 0.0.5<commit_after>{ stdenv
, fetchFromGitHub
, cmake
, sqlite
, botan2
, boost164
, curl
, gettext
, pkgconfig
, libusb
, gnutls }:

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

  src = fetchFromGitHub {
    owner = "das-labor";
    repo = "neopg";
    rev = "v${version}";
    sha256 = "1ky3pwg6w8kyaa9iksfx6rryva87mbj1h3yi2mrzp2h7jhrfffpp";
    fetchSubmodules = true;
  };

  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";
{'fraction_non_alphanumeric': 0.13372093023255813, 'fraction_numerical': 0.04198966408268734, 'mean_word_length': 3.220708446866485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2255673', 'n_tokens_mistral': 672, 'n_tokens_neox': 619, 'n_words': 127}