Merge pull request #44459 from kirelagin/b2sum

b2sum: init at 20160619
This commit is contained in:
Yegor Timoshenko 2018-08-06 15:03:53 +03:00 committed by GitHub
commit 0d7170cb85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchzip, openmp ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "b2sum-${version}";
version = "unstable-2018-06-11";
src = fetchzip {
url = "https://github.com/BLAKE2/BLAKE2/archive/320c325437539ae91091ce62efec1913cd8093c2.tar.gz";
sha256 = "0agmc515avdpr64bsgv87wby2idm0d3wbndxzkhdfjgzhgv0rb8k";
};
sourceRoot = "source/b2sum";
buildInputs = [ openmp ];
buildFlags = [ (optional (isNull openmp) "NO_OPENMP=1") ];
installFlags = [ "PREFIX=$(out)" ];
meta = {
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

@ -1581,6 +1581,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 { };