1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/libraries/liburcu/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
603 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "0.11.1";
pname = "liburcu";
src = fetchurl {
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
sha256 = "0l1kxgzch4m8fxiz2hc8fwg56hrvzzspp7n0svnl7i7iycdrgfcj";
};
checkInputs = [ perl ];
preCheck = "patchShebangs tests/unit";
doCheck = true;
meta = with stdenv.lib; {
description = "Userspace RCU (read-copy-update) library";
homepage = https://lttng.org/urcu;
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}