Merge pull request #97037 from IvarWithoutBones/crcpp

crcpp: init at 1.0.1.0
gstqt5
Lassulus 2020-09-17 21:38:37 +02:00 committed by GitHub
commit 1ab2364f00
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,30 @@
{ stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "crcpp";
version = "1.0.1.0";
src = fetchFromGitHub {
owner = "d-bahr";
repo = "CRCpp";
rev = "release-${version}";
sha256 = "138w97kfxnv8rcnvggba6fcxgbgq8amikkmy3jhqfn6xzy6zaimh";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/include
cp inc/CRC.h $out/include
'';
meta = with stdenv.lib; {
homepage = "https://github.com/d-bahr/CRCpp";
description = "Easy to use and fast C++ CRC library";
platforms = platforms.all;
maintainers = [ maintainers.ivar ];
license = licenses.bsd3;
};
}

View File

@ -970,6 +970,8 @@ in
crc32c = callPackage ../development/libraries/crc32c { };
crcpp = callPackage ../development/libraries/crcpp { };
cudd = callPackage ../development/libraries/cudd { };
cue = callPackage ../development/tools/cue { };