Merge pull request #164643 from IvarWithoutBones/bump/crcpp

This commit is contained in:
Sandro 2022-03-23 03:57:27 +01:00 committed by GitHub
commit e8aeac7295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];