at 23.05-pre 30 lines 660 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5}: 6 7stdenv.mkDerivation rec { 8 pname = "crcpp"; 9 version = "1.2.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "d-bahr"; 13 repo = "CRCpp"; 14 rev = "release-${version}"; 15 sha256 = "sha256-OY8MF8fwr6k+ZSA/p1U+9GnTFoMSnUZxKVez+mda2tA="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 doCheck = true; 21 22 meta = with lib; { 23 homepage = "https://github.com/d-bahr/CRCpp"; 24 changelog = "https://github.com/d-bahr/CRCpp/releases/tag/release-${version}"; 25 description = "Easy to use and fast C++ CRC library"; 26 platforms = platforms.all; 27 maintainers = [ maintainers.ivar ]; 28 license = licenses.bsd3; 29 }; 30}