mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 00:50:17 +02:00
Merge pull request #97037 from IvarWithoutBones/crcpp
crcpp: init at 1.0.1.0
This commit is contained in:
commit
1ab2364f00
30
pkgs/development/libraries/crcpp/default.nix
Normal file
30
pkgs/development/libraries/crcpp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue