fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv
2, fetchFromGitHub
3}:
4
5stdenv.mkDerivation rec {
6 pname = "crcpp";
7 version = "1.1.0.0";
8
9 src = fetchFromGitHub {
10 owner = "d-bahr";
11 repo = "CRCpp";
12 rev = "release-${version}";
13 sha256 = "sha256-jBvh4dHSFChxNPVgkGVHy3TXSExsfwdVUfsA8XB1cn8=";
14 };
15
16 dontBuild = true;
17
18 installPhase = ''
19 mkdir -p $out/include
20 cp inc/CRC.h $out/include
21 '';
22
23 meta = with lib; {
24 homepage = "https://github.com/d-bahr/CRCpp";
25 description = "Easy to use and fast C++ CRC library";
26 platforms = platforms.all;
27 maintainers = [ maintainers.ivar ];
28 license = licenses.bsd3;
29 };
30}