nixpkgs/pkgs/development/libraries/crcpp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
660 B
Nix
Raw Normal View History

2022-03-17 21:55:37 +00:00
{ lib
, stdenv
2020-09-03 19:49:16 +01:00
, fetchFromGitHub
2022-03-17 21:55:37 +00:00
, cmake
2020-09-03 19:49:16 +01:00
}:
stdenv.mkDerivation rec {
pname = "crcpp";
2022-03-17 21:55:37 +00:00
version = "1.2.0.0";
2020-09-03 19:49:16 +01:00
src = fetchFromGitHub {
owner = "d-bahr";
repo = "CRCpp";
rev = "release-${version}";
2022-03-17 21:55:37 +00:00
sha256 = "sha256-OY8MF8fwr6k+ZSA/p1U+9GnTFoMSnUZxKVez+mda2tA=";
2020-09-03 19:49:16 +01:00
};
2022-03-17 21:55:37 +00:00
nativeBuildInputs = [ cmake ];
2020-09-03 19:49:16 +01:00
2022-03-17 21:55:37 +00:00
doCheck = true;
2020-09-03 19:49:16 +01:00
meta = with lib; {
2020-09-03 19:49:16 +01:00
homepage = "https://github.com/d-bahr/CRCpp";
2022-03-17 21:55:37 +00:00
changelog = "https://github.com/d-bahr/CRCpp/releases/tag/release-${version}";
2020-09-03 19:49:16 +01:00
description = "Easy to use and fast C++ CRC library";
platforms = platforms.all;
maintainers = [ maintainers.ivar ];
license = licenses.bsd3;
};
}