pkgs/development: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-24 00:15:07 +07:00
parent ec334a1b01
commit 2f78ee7e81
121 changed files with 324 additions and 322 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }:
{ lib, stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }:
stdenv.mkDerivation rec {
baseName = "audio";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A digital audio interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-audio.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, avahi }:
{ lib, stdenv, fetchurl, pkg-config, pure, avahi }:
stdenv.mkDerivation rec {
baseName = "avahi";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A digital audio interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-avahi.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "csv";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Comma Separated Value Interface for the Pure Programming Language";
homepage = "http://puredocs.bitbucket.org/pure-csv.html";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.free;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "doc";
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A simple utility for literate programming and documenting source code written in the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-doc.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, fcgi }:
{ lib, stdenv, fetchurl, pkg-config, pure, fcgi }:
stdenv.mkDerivation rec {
baseName = "fastcgi";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache";
homepage = "http://puredocs.bitbucket.org/pure-fastcgi.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, faust, libtool }:
{ lib, stdenv, fetchurl, pkg-config, pure, faust, libtool }:
stdenv.mkDerivation rec {
baseName = "faust";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Lets you load and run Faust-generated signal processing modules in Pure";
homepage = "http://puredocs.bitbucket.org/pure-faust.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, libffi }:
{ lib, stdenv, fetchurl, pkg-config, pure, libffi }:
stdenv.mkDerivation rec {
baseName = "ffi";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Provides an interface to libffi which enables you to call C functions from Pure and vice versa";
homepage = "http://puredocs.bitbucket.org/pure-ffi.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl,
{ lib, stdenv, fetchurl,
pkg-config, pure, haskellPackages }:
stdenv.mkDerivation rec {
@@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
meta = {
description = "Pure interface generator";
homepage = "http://puredocs.bitbucket.org/pure-gen.html";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.free;
platforms = lib.platforms.linux;
hydraPlatforms = [];
maintainers = with stdenv.lib.maintainers; [ asppsa ];
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }:
{ lib, stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "gl";
@@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Fairly complete Pure bindings for the OpenGL graphics library, which allow you to do 2D and 3D graphics programming with Pure";
homepage = "http://puredocs.bitbucket.org/pure-gl.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
meta = {
description = "GLPK interface for the Pure Programming Language";
homepage = "http://puredocs.bitbucket.org/pure-glpk.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, gnuplot }:
{ lib, stdenv, fetchurl, pkg-config, pure, gnuplot }:
stdenv.mkDerivation rec {
baseName = "gplot";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A pure binding to gnuplot";
homepage = "http://puredocs.bitbucket.org/pure-gplot.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pure, pkg-config, gsl }:
{ lib, stdenv, fetchurl, pure, pkg-config, gsl }:
stdenv.mkDerivation rec {
baseName = "gsl";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "GNU Scientific Library interface for Pure";
homepage = "http://puredocs.bitbucket.org/pure-gsl.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }:
{ lib, stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }:
stdenv.mkDerivation rec {
baseName = "gtk";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A collection of bindings to use the GTK GUI toolkit version 2.x with Pure";
homepage = "http://puredocs.bitbucket.org/pure-gtk.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, liblo }:
{ lib, stdenv, fetchurl, pkg-config, pure, liblo }:
stdenv.mkDerivation rec {
baseName = "liblo";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeleys Open Sound Control (OSC) protocol";
homepage = "http://puredocs.bitbucket.org/pure-liblo.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }:
{ lib, stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }:
stdenv.mkDerivation rec {
baseName = "lilv";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A Pure module for David Robillards Lilv, a library for LV2 plugin host writers";
homepage = "http://puredocs.bitbucket.org/pure-lilv.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, lv2 }:
{ lib, stdenv, fetchurl, pkg-config, pure, lv2 }:
stdenv.mkDerivation rec {
baseName = "lv2";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A generic LV2 plugin wrapper for Pure which can be linked with batch-compiled Pure scripts to obtain LV2 plugin modules";
homepage = "http://puredocs.bitbucket.org/pure-lv2.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, portmidi }:
{ lib, stdenv, fetchurl, pkg-config, pure, portmidi }:
stdenv.mkDerivation rec {
baseName = "midi";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A MIDI interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-midi.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "mpfr";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "This module makes the MPFR multiprecision floats available in Pure";
homepage = "http://puredocs.bitbucket.org/pure-mpfr.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, octave }:
{ lib, stdenv, fetchurl, pkg-config, pure, octave }:
stdenv.mkDerivation rec {
baseName = "octave";
@@ -18,10 +18,10 @@ stdenv.mkDerivation rec {
meta = {
description = "An Octave module for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-octave.html";
license = stdenv.lib.licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
# This is set to none for now because it does not work with the
# current stable version of Octave.
platforms = stdenv.lib.platforms.none;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
platforms = lib.platforms.none;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, libiodbc }:
{ lib, stdenv, fetchurl, pkg-config, pure, libiodbc }:
stdenv.mkDerivation rec {
baseName = "odbc";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A simple ODBC interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-odbc.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }:
{ lib, stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }:
stdenv.mkDerivation rec {
baseName = "pandoc";
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Converts Sphinx-formatted Pure documentation files to Markdown and other formats using Pandoc";
homepage = "http://puredocs.bitbucket.org/pure-pandoc.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "rational";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A collection of utility functions for rational numbers, and a module for doing interval arithmetic in Pure";
homepage = "http://puredocs.bitbucket.org/pure-rational.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, readline }:
{ lib, stdenv, fetchurl, pkg-config, pure, readline }:
stdenv.mkDerivation rec {
baseName = "readline";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A trivial wrapper around GNU readline, which gives Pure scripts access to the most important facilities of the readline interface";
homepage = "http://puredocs.bitbucket.org/pure-readline.html";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.free;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "sockets";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A Pure interface to the Berkeley socket functions";
homepage = "http://puredocs.bitbucket.org/pure-sockets.html";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, sqlite }:
{ lib, stdenv, fetchurl, pkg-config, pure, sqlite }:
stdenv.mkDerivation rec {
baseName = "sql3";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A SQLite module for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-sql3.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "stldict";
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A Pure interface to the C++ dictionary containers map and unordered_map";
homepage = "http://puredocs.bitbucket.org/pure-stldict.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure }:
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "stllib";
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
meta = {
description = "An umbrella package that contains a pair of Pure addons, pure-stlvec and pure-stlmap";
homepage = "http://puredocs.bitbucket.org/pure-stllib.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }:
{ lib, stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "tk";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A basic interface between Pure and Tcl/Tk";
homepage = "http://puredocs.bitbucket.org/pure-tk.html";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }:
{ lib, stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }:
stdenv.mkDerivation rec {
baseName = "xml";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure";
homepage = "http://puredocs.bitbucket.org/pure-xml.html";
license = stdenv.lib.licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}