mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
31 lines
660 B
Nix
31 lines
660 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "crcpp";
|
|
version = "1.2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "d-bahr";
|
|
repo = "CRCpp";
|
|
rev = "release-${version}";
|
|
sha256 = "sha256-OY8MF8fwr6k+ZSA/p1U+9GnTFoMSnUZxKVez+mda2tA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
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 ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|