mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
crcpp: init at 1.0.1.0
This commit is contained in:
parent
94c2122d38
commit
10abcfb717
2 changed files with 32 additions and 0 deletions
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;
|
||||
};
|
||||
}
|
|
@ -962,6 +962,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