From 6db78a1751cc0d629c51a315b6fafc9d15ea543d Mon Sep 17 00:00:00 2001 From: Ivar Scholten Date: Thu, 17 Mar 2022 22:55:37 +0100 Subject: [PATCH] crcpp: 1.1.0.0 -> 1.2.0.0 --- pkgs/development/libraries/crcpp/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/crcpp/default.nix b/pkgs/development/libraries/crcpp/default.nix index 3b9f4f942acf..69b1864702c9 100644 --- a/pkgs/development/libraries/crcpp/default.nix +++ b/pkgs/development/libraries/crcpp/default.nix @@ -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 ];