Merge pull request #164643 from IvarWithoutBones/bump/crcpp
This commit is contained in:
commit
e8aeac7295
|
@ -1,27 +1,27 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crcpp";
|
||||
version = "1.1.0.0";
|
||||
version = "1.2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "d-bahr";
|
||||
repo = "CRCpp";
|
||||
rev = "release-${version}";
|
||||
sha256 = "sha256-jBvh4dHSFChxNPVgkGVHy3TXSExsfwdVUfsA8XB1cn8=";
|
||||
sha256 = "sha256-OY8MF8fwr6k+ZSA/p1U+9GnTFoMSnUZxKVez+mda2tA=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp inc/CRC.h $out/include
|
||||
'';
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
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";
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
|
|
Loading…
Reference in a new issue