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, libxml2, curl }:
|
||||
{ lib, stdenv, fetchurl, libxml2, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "raptor-1.4.21";
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "The RDF Parser Toolkit";
|
||||
homepage = "http://librdf.org/raptor";
|
||||
license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = with lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libxml2, libxslt }:
|
||||
{ lib, stdenv, fetchurl, libxml2, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "raptor2";
|
||||
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "The RDF Parser Toolkit";
|
||||
homepage = "http://librdf.org/raptor";
|
||||
license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = with lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = with lib.maintainers; [ marcweber ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
|
||||
{ lib, stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rasqal-0.9.33";
|
||||
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Library that handles Resource Description Framework (RDF)";
|
||||
homepage = "http://librdf.org/rasqal";
|
||||
license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = with lib.licenses; [ lgpl21 asl20 ];
|
||||
maintainers = with lib.maintainers; [ marcweber ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, openssl, libxslt, perl
|
||||
{ lib, stdenv, fetchurl, pkg-config, openssl, libxslt, perl
|
||||
, curl, pcre, libxml2, librdf_rasqal, gmp
|
||||
, libmysqlclient, withMysql ? false
|
||||
, postgresql, withPostgresql ? false
|
||||
@@ -17,10 +17,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ perl pkg-config ];
|
||||
|
||||
buildInputs = [ openssl libxslt curl pcre libxml2 gmp ]
|
||||
++ stdenv.lib.optional withMysql libmysqlclient
|
||||
++ stdenv.lib.optional withSqlite sqlite
|
||||
++ stdenv.lib.optional withPostgresql postgresql
|
||||
++ stdenv.lib.optional withBdb db;
|
||||
++ lib.optional withMysql libmysqlclient
|
||||
++ lib.optional withSqlite sqlite
|
||||
++ lib.optional withPostgresql postgresql
|
||||
++ lib.optional withBdb db;
|
||||
|
||||
propagatedBuildInputs = [ librdf_rasqal ];
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
[ "--with-threads" ]
|
||||
++ stdenv.lib.optionals withBdb [
|
||||
++ lib.optionals withBdb [
|
||||
"--with-bdb-include=${db.dev}/include"
|
||||
"--with-bdb-lib=${db.out}/lib"
|
||||
];
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false; # fails 1 out of 17 tests with a segmentation fault
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "C libraries that provide support for the Resource Description Framework (RDF)";
|
||||
homepage = "http://librdf.org/";
|
||||
platforms = platforms.unix;
|
||||
|
||||
Reference in New Issue
Block a user