From 56b39c2cc57bed61b9656a55b5275d7771fb5636 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Mon, 29 Jun 2015 16:45:01 +0200 Subject: [PATCH] minisign: init at 0.4 --- pkgs/tools/security/minisign/default.nix | 25 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/security/minisign/default.nix diff --git a/pkgs/tools/security/minisign/default.nix b/pkgs/tools/security/minisign/default.nix new file mode 100644 index 000000000000..48de14ddce6c --- /dev/null +++ b/pkgs/tools/security/minisign/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, cmake, libsodium }: + +stdenv.mkDerivation rec { + name = "minisign-${version}"; + version = "0.4"; + + src = fetchurl { + url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz"; + sha256 = "1k1dk6piaz8pw4b9zg55n4wcpyc301mkxb873njm8mki7r8raxnw"; + }; + + buildInputs = [ cmake libsodium ]; + + meta = with stdenv.lib; { + description = "A simple tool for signing files and verifying signatures"; + longDescription = '' + minisign uses public key cryptography to help facilitate secure (but not + necessarily private) file transfer, e.g., of software artefacts. minisign + is similar to and compatible with OpenBSD's signify. + ''; + homepage = https://jedisct1.github.io/minisign/; + license = licenses.isc; + maintainers = with maintainers; [ joachifm ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4a14978e386..6562fa0b8bac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2026,6 +2026,8 @@ let minidlna = callPackage ../tools/networking/minidlna { }; + minisign = callPackage ../tools/security/minisign { }; + mmv = callPackage ../tools/misc/mmv { }; morituri = callPackage ../applications/audio/morituri { };