crcpp: 1.1.0.0 -> 1.2.0.0
This commit is contained in:
parent
5358c90ac1
commit
6db78a1751
|
@ -1,27 +1,27 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crcpp";
|
pname = "crcpp";
|
||||||
version = "1.1.0.0";
|
version = "1.2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "d-bahr";
|
owner = "d-bahr";
|
||||||
repo = "CRCpp";
|
repo = "CRCpp";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "sha256-jBvh4dHSFChxNPVgkGVHy3TXSExsfwdVUfsA8XB1cn8=";
|
sha256 = "sha256-OY8MF8fwr6k+ZSA/p1U+9GnTFoMSnUZxKVez+mda2tA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
installPhase = ''
|
doCheck = true;
|
||||||
mkdir -p $out/include
|
|
||||||
cp inc/CRC.h $out/include
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/d-bahr/CRCpp";
|
homepage = "https://github.com/d-bahr/CRCpp";
|
||||||
|
changelog = "https://github.com/d-bahr/CRCpp/releases/tag/release-${version}";
|
||||||
description = "Easy to use and fast C++ CRC library";
|
description = "Easy to use and fast C++ CRC library";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.ivar ];
|
maintainers = [ maintainers.ivar ];
|
||||||
|
|
Loading…
Reference in a new issue