base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libck / package.nix
blob71937b2a658ec2b9823664682c846cbde380e9df
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "ck";
5   version = "0.7.2";
7   src = fetchFromGitHub {
8     owner = "concurrencykit";
9     repo = pname;
10     rev = version;
11     sha256 = "sha256-lxJ8WsZ3pBGf4sFYj5+tR37EYDZqpksaoohiIKA4pRI=";
12   };
14   postPatch = ''
15     substituteInPlace \
16       configure \
17         --replace \
18           'COMPILER=`./.1 2> /dev/null`' \
19           "COMPILER=gcc"
20   '';
22   configureFlags = ["--platform=${stdenv.hostPlatform.parsed.cpu.name}}"];
24   dontDisableStatic = true;
26   meta = with lib; {
27     description = "High-performance concurrency research library";
28     longDescription = ''
29       Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems.
30     '';
31     license = with licenses; [ asl20 bsd2 ];
32     homepage = "http://concurrencykit.org/";
33     platforms = platforms.unix;
34     maintainers = with maintainers; [ chessai thoughtpolice ];
35   };