depot/third_party/nixpkgs/pkgs/development/libraries/crcpp/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

30 lines
643 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 = [ ];
license = licenses.bsd3;
};
}