pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool }:
|
||||
{ lib, stdenv, fetchurl, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libatomic_ops";
|
||||
@@ -14,17 +14,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
|
||||
nativeBuildInputs = lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
|
||||
|
||||
preConfigure = stdenv.lib.optionalString stdenv.isCygwin ''
|
||||
preConfigure = lib.optionalString stdenv.isCygwin ''
|
||||
sed -i -e "/libatomic_ops_gpl_la_SOURCES/a libatomic_ops_gpl_la_LIBADD = libatomic_ops.la" src/Makefile.am
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ''A library for semi-portable access to hardware-provided atomic memory update operations'';
|
||||
license = stdenv.lib.licenses.gpl2Plus ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = with stdenv.lib.platforms; unix ++ windows;
|
||||
license = lib.licenses.gpl2Plus ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = with lib.platforms; unix ++ windows;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user