Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / liburcu / default.nix
blob722a1534e92ca127dd30e54a932d7250cecdaf20
1 { lib, stdenv, fetchurl, perl }:
3 stdenv.mkDerivation rec {
4   version = "0.14.0";
5   pname = "liburcu";
7   src = fetchurl {
8     url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
9     sha256 = "sha256-ykO/Jh1NOSz/IN+uRAg2YDvwCfziT9ybJpfYN6IjnU8=";
10   };
12   outputs = [ "out" "dev" "doc" ];
14   nativeCheckInputs = [ perl ];
16   preCheck = "patchShebangs tests/unit";
17   doCheck = true;
19   meta = with lib; {
20     description = "Userspace RCU (read-copy-update) library";
21     homepage = "https://lttng.org/urcu";
22     changelog = "https://github.com/urcu/userspace-rcu/raw/v${version}/ChangeLog";
23     license = licenses.lgpl21Plus;
24     platforms = platforms.unix;
25     maintainers = [ maintainers.bjornfor ];
26   };