lol

Merge pull request #8002 from asppsa/pure-packages

Fairly complete set of packages for Pure

+760 -13
+25
pkgs/development/pure-modules/audio/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, portaudio, fftw, libsndfile, libsamplerate }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "audio"; 5 + version = "0.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "c1f2a5da73983efb5a54f86d57ba93713ebed20ff0c72de9b3467f10f2904ee0"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure portaudio fftw libsndfile libsamplerate ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A digital audio interface for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-audio.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/avahi/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, avahi }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "avahi"; 5 + version = "0.3"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "5fac8a6e3a54e45648ceb207ee0061b22eac8c4e668b8d53f13eb338b09c9160"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure avahi ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A digital audio interface for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-avahi.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/csv/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "csv"; 5 + version = "1.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "fe7c4edebe8208c54d5792a9eefaeb28c4a58b9094d161a6dda8126f0823ab3c"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "Comma Separated Value Interface for the Pure Programming Language"; 20 + homepage = http://puredocs.bitbucket.org/pure-csv.html; 21 + license = stdenv.lib.licenses.free; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+23
pkgs/development/pure-modules/doc/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "doc"; 5 + version = "0.7"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "cfa880573941f37868269bcc443a09fecd2a141a78556383d2213f6c9f45ddd9"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig pure ]; 14 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 15 + 16 + meta = { 17 + description = "A simple utility for literate programming and documenting source code written in the Pure programming language"; 18 + homepage = http://puredocs.bitbucket.org/pure-doc.html; 19 + license = stdenv.lib.licenses.gpl3Plus; 20 + platforms = stdenv.lib.platforms.linux; 21 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 22 + }; 23 + }
+25
pkgs/development/pure-modules/fastcgi/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, fcgi }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "fastcgi"; 5 + version = "0.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "aa5789cc1e17521c01f349ee82ce2a00500e025b3f8494f89a7ebe165b5aabc7"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure fcgi ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache"; 20 + homepage = http://puredocs.bitbucket.org/pure-fastcgi.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/faust/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, faust, libtool }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "faust"; 5 + version = "0.11"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "51278a3b0807c4770163dc2ce423507dcf0ffec9cd1c1fbc08426d07294f6ae0"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure faust libtool ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "Lets you load and run Faust-generated signal processing modules in Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-faust.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/ffi/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, libffi }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "ffi"; 5 + version = "0.14"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "0331f48efaae40af21b23cf286fd7eac0ea0a249d08fd97bf23246929c0ea71a"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure libffi ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "Provides an interface to libffi which enables you to call C functions from Pure and vice versa"; 20 + homepage = http://puredocs.bitbucket.org/pure-ffi.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/gen/default.nix
··· 1 + { lib, stdenv, fetchurl, 2 + pkgconfig, pure, haskellPackages }: 3 + 4 + stdenv.mkDerivation rec { 5 + baseName = "gen"; 6 + version = "0.20"; 7 + name = "pure-${baseName}-${version}"; 8 + 9 + src = fetchurl { 10 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 11 + sha256 = "cfadd99a378b296325937d2492347611cc1e1d9f24594f91f3c2293eca01a4a8"; 12 + }; 13 + 14 + hsEnv = haskellPackages.ghcWithPackages (hsPkgs : [hsPkgs.language-c]); 15 + buildInputs = [ pkgconfig hsEnv pure ]; 16 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 17 + 18 + meta = { 19 + description = "Pure interface generator"; 20 + homepage = http://puredocs.bitbucket.org/pure-gen.html; 21 + license = stdenv.lib.licenses.free; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/gl/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, freeglut, mesa, x11 }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "gl"; 5 + version = "0.9"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "edd594222f89ae372067eda6679a37488986b9739b5b79b4a25ac48255d31bba"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure freeglut mesa x11 ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "Fairly complete Pure bindings for the OpenGL graphics library, which allow you to do 2D and 3D graphics programming with Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-gl.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+39
pkgs/development/pure-modules/glpk/default.nix
··· 1 + { lib, stdenv, fetchurl, 2 + pkgconfig, pure, glpk, gmp, libtool, libmysql, libiodbc, zlib }: 3 + 4 + stdenv.mkDerivation rec { 5 + baseName = "glpk"; 6 + version = "0.5"; 7 + name = "pure-${baseName}-${version}"; 8 + 9 + src = fetchurl { 10 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 11 + sha256 = "5d6dc11706985dda02d96d481ea5f164c9e95ee446432fc4fc3d0db61a076346"; 12 + }; 13 + 14 + glpkWithExtras = lib.overrideDerivation glpk (attrs: { 15 + propagatedNativeBuildInputs = [ gmp libtool libmysql libiodbc ]; 16 + 17 + preConfigure = '' 18 + substituteInPlace configure \ 19 + --replace /usr/include/mysql ${libmysql}/include/mysql 20 + ''; 21 + configureFlags = [ "--enable-dl" 22 + "--enable-odbc" 23 + "--enable-mysql" 24 + "--with-gmp=yes" ]; 25 + }); 26 + 27 + buildInputs = [ pkgconfig ]; 28 + propagatedBuildInputs = [ pure glpkWithExtras ]; 29 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 30 + setupHook = ../generic-setup-hook.sh; 31 + 32 + meta = { 33 + description = "GLPK interface for the Pure Programming Language"; 34 + homepage = http://puredocs.bitbucket.org/pure-glpk.html; 35 + license = stdenv.lib.licenses.gpl3Plus; 36 + platforms = stdenv.lib.platforms.linux; 37 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 38 + }; 39 + }
+25
pkgs/development/pure-modules/gplot/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, gnuplot }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "gplot"; 5 + version = "0.1"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "841ded98e4d1cdfaf78f95481e5995d0440bfda2d5df533d6741a6e7058a882c"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure gnuplot ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "a pure binding to gnuplot"; 20 + homepage = http://puredocs.bitbucket.org/pure-gplot.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/gtk/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, pure-ffi, gtk2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "gtk"; 5 + version = "0.13"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "e659ff1bc5809ce35b810f8ac3fb7e8cadaaef13996537d8632e2f86ed76d203"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure pure-ffi gtk2 ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A collection of bindings to use the GTK+ GUI toolkit version 2.x with Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-gtk.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/liblo/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, liblo }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "liblo"; 5 + version = "0.9"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "c2ba4d6f94489acf8a8fac73982ae03d5ad4113146eb1f7d6558a956c57cb8ee"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure liblo ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeley’s Open Sound Control (OSC) protocol"; 20 + homepage = http://puredocs.bitbucket.org/pure-liblo.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/lilv/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, lilv, lv2, serd, sord, sratom }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "lilv"; 5 + version = "0.4"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "af20982fe43e8dce62d50bf7a78e461ab36c308325b123cddbababf0d3beaf9f"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure lilv lv2 serd sord sratom ]; 15 + makeFlags = "CFLAGS=-I${lilv}/include/lilv-0 libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A Pure module for David Robillard’s Lilv, a library for LV2 plugin host writers"; 20 + homepage = http://puredocs.bitbucket.org/pure-lilv.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/lv2/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, lv2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "lv2"; 5 + version = "0.2"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "721cacd831781d8309e7ecabb0ee7c01da17e75c5642a5627cf158bfb36093e1"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure lv2 ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A generic LV2 plugin wrapper for Pure which can be linked with batch-compiled Pure scripts to obtain LV2 plugin modules"; 20 + homepage = http://puredocs.bitbucket.org/pure-lv2.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/midi/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, portmidi }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "midi"; 5 + version = "0.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "817ae9fa5f443a8c478a6770f36091e3cf99f3515c74e00d09ca958dead1e7eb"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure portmidi ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A MIDI interface for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-midi.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/mpfr/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "mpfr"; 5 + version = "0.5"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "39d2255c2c0c2d60ce727be178b5e5a06f7c92eb365976c49c4a34b1edc576e7"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "This module makes the MPFR multiprecision floats available in Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-mpfr.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/octave/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, octave }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "octave"; 5 + version = "0.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "5a42e8dff8023f6bf1214ed31b7999645d88ce2f103d9fba23b527259da9a0df"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure octave ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "An Octave module for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-octave.html; 21 + license = stdenv.lib.licenses.gpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/odbc/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, libiodbc }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "odbc"; 5 + version = "0.10"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "1907e9ebca11cc68762cf7046084b31e9e2bf056df85c40ccbcbe9f02221ff8d"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure libiodbc ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A simple ODBC interface for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-odbc.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+28
pkgs/development/pure-modules/pandoc/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, pandoc, gawk, getopt }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "pandoc"; 5 + version = "0.1"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "0f23a17549048ca3a8f4936ea9e931feb05997390b486850936b746996350cda"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig pure ]; 14 + propagatedBuildInputs = [ pandoc gawk getopt ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + preInstall = '' 17 + mkdir -p $out/bin 18 + mkdir -p $out/share/man/man1 19 + ''; 20 + 21 + meta = { 22 + description = "Converts Sphinx-formatted Pure documentation files to Markdown and other formats using Pandoc"; 23 + homepage = http://puredocs.bitbucket.org/pure-pandoc.html; 24 + license = stdenv.lib.licenses.gpl3Plus; 25 + platforms = stdenv.lib.platforms.linux; 26 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 27 + }; 28 + }
+9 -12
pkgs/development/pure-modules/pure-gsl/default.nix pkgs/development/pure-modules/gsl/default.nix
··· 1 1 { stdenv, fetchurl, pure, pkgconfig, gsl }: 2 2 3 - stdenv.mkDerivation { 4 - name = "pure-gsl-0.12"; 3 + stdenv.mkDerivation rec { 4 + baseName = "gsl"; 5 + version = "0.12"; 6 + name = "pure-${baseName}-${version}"; 7 + 5 8 src = fetchurl { 6 - url = https://bitbucket.org/purelang/pure-lang/downloads/pure-gsl-0.12.tar.gz; 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 7 10 sha256 = "06bdd873d5417d90ca35093056a060b77365123ed24c3ac583cd3922d4c78a75"; 8 11 }; 9 12 10 13 buildInputs = [ pkgconfig ]; 11 14 propagatedBuildInputs = [ pure gsl ]; 12 - 13 - installPhase = '' 14 - mkdir -p $out/lib/pure/gsl 15 - install gsl.pure gsl$(pkg-config pure --variable DLL) $out/lib/pure 16 - install gsl/*.pure $out/lib/pure/gsl 17 - ''; 18 - 19 - setupHook = ./setup-hook.sh; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 20 17 21 18 meta = { 22 19 description = "GNU Scientific Library interface for Pure"; ··· 25 22 platforms = stdenv.lib.platforms.linux; 26 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 27 24 }; 28 - } 25 + }
pkgs/development/pure-modules/pure-gsl/setup-hook.sh pkgs/development/pure-modules/generic-setup-hook.sh
+25
pkgs/development/pure-modules/rational/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "rational"; 5 + version = "0.1"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "62cb4079a0dadd232a859e577e97e50e9718ccfcc5983c4d9c4c32cac7a9bafa"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A collection of utility functions for rational numbers, and a module for doing interval arithmetic in Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-rational.html; 21 + license = stdenv.lib.licenses.gpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/readline/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, readline }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "readline"; 5 + version = "0.3"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "db8e6663b1c085466c09662fe86d952b6f4ffdafeecffe805c681ab91c910886"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure readline ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A trivial wrapper around GNU readline, which gives Pure scripts access to the most important facilities of the readline interface"; 20 + homepage = http://puredocs.bitbucket.org/pure-readline.html; 21 + license = stdenv.lib.licenses.free; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/sockets/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "sockets"; 5 + version = "0.7"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "4f2769618ae5818cf6005bb08bcf02fe359a2e31998d12dc0c72f0494e9c0420"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A Pure interface to the Berkeley socket functions"; 20 + homepage = http://puredocs.bitbucket.org/pure-sockets.html; 21 + license = stdenv.lib.licenses.gpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/sql3/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, sqlite }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "sql3"; 5 + version = "0.5"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "b9f79dd443c8ffc5cede51e2af617f24726f5c0409aab4948c9847e6adb53c37"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure sqlite ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A SQLite module for the Pure programming language"; 20 + homepage = http://puredocs.bitbucket.org/pure-sql3.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/stldict/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "stldict"; 5 + version = "0.8"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A Pure interface to the C++ dictionary containers map and unordered_map"; 20 + homepage = http://puredocs.bitbucket.org/pure-stldict.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/stllib/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "stllib"; 5 + version = "0.6"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-stllib-${version}.tar.gz"; 10 + sha256 = "1d550764fc2f8ba6ddbd1fbd3da2d6965b69e2c992747265d9ebe4f16aa5e455"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "An “umbrella” package that contains a pair of Pure addons, pure-stlvec and pure-stlmap"; 20 + homepage = http://puredocs.bitbucket.org/pure-stllib.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/tk/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, tcl, tk, x11 }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "tk"; 5 + version = "0.5"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure tcl tk x11 ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A basic interface between Pure and Tcl/Tk"; 20 + homepage = http://puredocs.bitbucket.org/pure-tk.html; 21 + license = stdenv.lib.licenses.bsd3; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+25
pkgs/development/pure-modules/xml/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, pure, libxml2, libxslt }: 2 + 3 + stdenv.mkDerivation rec { 4 + baseName = "xml"; 5 + version = "0.7"; 6 + name = "pure-${baseName}-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 + sha256 = "e862dec060917a285bc3befc90f4eb70b6cc33136fb524ad3aa173714a35b0f7"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig ]; 14 + propagatedBuildInputs = [ pure libxml2 libxslt ]; 15 + makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 + setupHook = ../generic-setup-hook.sh; 17 + 18 + meta = { 19 + description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure"; 20 + homepage = http://puredocs.bitbucket.org/pure-xml.html; 21 + license = stdenv.lib.licenses.lgpl3Plus; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + }; 25 + }
+3 -1
pkgs/top-level/all-packages.nix
··· 4764 4764 pure = callPackage ../development/interpreters/pure { 4765 4765 llvm = llvm_35; 4766 4766 }; 4767 - pure-gsl = callPackage ../development/pure-modules/pure-gsl { }; 4767 + purePackages = recurseIntoAttrs (import ./pure-packages.nix { 4768 + inherit callPackage; 4769 + }); 4768 4770 4769 4771 python = python2; 4770 4772 python2 = python27;
+33
pkgs/top-level/pure-packages.nix
··· 1 + { callPackage }: 2 + 3 + rec { 4 + audio = callPackage ../development/pure-modules/audio { }; 5 + avahi = callPackage ../development/pure-modules/avahi { }; 6 + csv = callPackage ../development/pure-modules/csv { }; 7 + doc = callPackage ../development/pure-modules/doc { }; 8 + fastcgi = callPackage ../development/pure-modules/fastcgi { }; 9 + faust = callPackage ../development/pure-modules/faust { }; 10 + ffi = callPackage ../development/pure-modules/ffi { }; 11 + gen = callPackage ../development/pure-modules/gen { }; 12 + gl = callPackage ../development/pure-modules/gl { }; 13 + glpk = callPackage ../development/pure-modules/glpk { }; 14 + gplot = callPackage ../development/pure-modules/gplot { }; 15 + gsl = callPackage ../development/pure-modules/gsl { }; 16 + gtk = callPackage ../development/pure-modules/gtk { pure-ffi = ffi; }; 17 + liblo = callPackage ../development/pure-modules/liblo { }; 18 + lilv = callPackage ../development/pure-modules/lilv { }; 19 + lv2 = callPackage ../development/pure-modules/lv2 { }; 20 + midi = callPackage ../development/pure-modules/midi { }; 21 + mpfr = callPackage ../development/pure-modules/mpfr { }; 22 + octave = callPackage ../development/pure-modules/octave { }; 23 + odbc = callPackage ../development/pure-modules/odbc { }; 24 + pandoc = callPackage ../development/pure-modules/pandoc { }; 25 + rational = callPackage ../development/pure-modules/rational { }; 26 + readline = callPackage ../development/pure-modules/readline { }; 27 + sockets = callPackage ../development/pure-modules/sockets { }; 28 + sql3 = callPackage ../development/pure-modules/sql3 { }; 29 + stldict = callPackage ../development/pure-modules/stldict { }; 30 + stllib = callPackage ../development/pure-modules/stllib { }; 31 + tk = callPackage ../development/pure-modules/tk { }; 32 + xml = callPackage ../development/pure-modules/xml { }; 33 + }