b2sum: init at 20160619

This commit is contained in:
Kirill Elagin 2018-08-04 17:35:19 +03:00
parent ffcaaedf75
commit 74732ec298
No known key found for this signature in database
GPG Key ID: 11A364922849AD28
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, openmp }:
stdenv.mkDerivation rec {
version = "20160619";
name = "b2sum-${version}";
src = fetchurl {
url = "https://github.com/BLAKE2/BLAKE2/archive/${version}.tar.gz";
sha256 = "0csnlp6kwlyla5s4r6bsrx2jgcwrm9qzisnvfdhmqsz5r8y87b6b";
};
postUnpack = "sourceRoot=$sourceRoot/b2sum";
buildInputs = [ openmp ];
makeFlags = stdenv.lib.optional (isNull openmp) "NO_OPENMP=1";
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "The b2sum utility is similar to the md5sum or shasum utilities but for BLAKE2";
homepage = "https://blake2.net";
license = with licenses; [ asl20 cc0 openssl ];
maintainers = with maintainers; [ kirelagin ];
platforms = platforms.all;
};
}

View File

@ -1579,6 +1579,10 @@ with pkgs;
asynk = callPackage ../tools/networking/asynk { };
b2sum = callPackage ../tools/security/b2sum {
inherit (llvmPackages) openmp;
};
bacula = callPackage ../tools/backup/bacula { };
bareos = callPackage ../tools/backup/bareos { };