pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl} :
|
||||
{lib, stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rxp";
|
||||
@@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
description = "A validating XML parser written in C";
|
||||
homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmlformat";
|
||||
version = "1.04";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "a configurable formatter (or 'pretty-printer') for XML documents";
|
||||
homepage = "http://www.kitebird.com/software/xmlformat/";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libxml2, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xmlstarlet-1.6.1";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmlstar/${name}.tar.gz";
|
||||
sha256 = "1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m";
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A command line tool for manipulating and querying XML data";
|
||||
homepage = "http://xmlstar.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{stdenv, fetchurl, python2, libxml2}:
|
||||
{lib, stdenv, fetchurl, python2, libxml2}:
|
||||
|
||||
assert libxml2.pythonSupport == true;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xpf-0.2";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tarballs.nixos.org/xpf-0.2.tar.gz";
|
||||
sha256 = "0ljx91w68rnh4871c0xlq2whlmhqz8dr39wcdczfjjpniqz1fmpz";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ python2 libxml2 ];
|
||||
|
||||
meta = {
|
||||
description = "XML Pipes and Filters - command line tools for manipulating and querying XML data";
|
||||
homepage = "http://www.cs.uu.nl/wiki/bin/view/Martin/XmlPipesAndFilters";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user