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