Merge staging-next into master
This commit is contained in:
commit
86c7662be0
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, intltool, libgpod, curl, flac,
|
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, intltool, libgpod, curl, flac,
|
||||||
gnome3, gtk3, gettext, perl, perlXMLParser, flex, libid3tag,
|
gnome3, gtk3, gettext, perlPackages, flex, libid3tag,
|
||||||
libvorbis, gdk_pixbuf }:
|
libvorbis, gdk_pixbuf }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl gettext perl perlXMLParser
|
curl gettext
|
||||||
flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
|
flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
|
||||||
gnome3.gdl gnome3.defaultIconTheme gnome3.anjuta
|
gnome3.gdl gnome3.defaultIconTheme gnome3.anjuta
|
||||||
];
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's/which/type -P/' scripts/*.sh
|
sed -i 's/which/type -P/' scripts/*.sh
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
{ stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
||||||
, makeWrapper, pkgconfig, perl, perlXMLParser
|
, makeWrapper, pkgconfig, perlPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -11,10 +11,8 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 makeWrapper ]
|
||||||
fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 perl
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
perlXMLParser makeWrapper
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa
|
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, cmake, pkgconfig, gtk2, freetype, fontconfig, lcms,
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk2, freetype, fontconfig, lcms,
|
||||||
flex, libtiff, libjpeg, libpng, libexif, zlib, perl, libX11,
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perlPackages, libX11,
|
||||||
perlXMLParser, pythonPackages, gettext, intltool, babl, gegl,
|
pythonPackages, gettext, intltool, babl, gegl,
|
||||||
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
|
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
|
||||||
libGLU_combined, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
|
libGLU_combined, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libpng gtk2 freetype fontconfig lcms flex libtiff libjpeg
|
buildInputs = [ libpng gtk2 freetype fontconfig lcms flex libtiff libjpeg
|
||||||
libexif zlib perl libX11 perlXMLParser python pygtk gettext intltool babl
|
libexif zlib libX11 python pygtk gettext intltool babl
|
||||||
gegl glib makedepend xf86vidmodeproto xineramaproto libXmu openexr libGLU_combined
|
gegl glib makedepend xf86vidmodeproto xineramaproto libXmu openexr libGLU_combined
|
||||||
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
|
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
|
||||||
];
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, autoconf, automake, libtool, gtk2, pkgconfig, perl,
|
{ stdenv, fetchgit, autoconf, automake, libtool, gtk2, pkgconfig, perlPackages,
|
||||||
perlXMLParser, libxml2, gettext, python, libxml2Python, docbook5, docbook_xsl,
|
libxml2, gettext, python, libxml2Python, docbook5, docbook_xsl,
|
||||||
libxslt, intltool, libart_lgpl, withGNOME ? false, libgnomeui, hicolor-icon-theme,
|
libxslt, intltool, libart_lgpl, withGNOME ? false, libgnomeui, hicolor-icon-theme,
|
||||||
gtk-mac-integration-gtk2 }:
|
gtk-mac-integration-gtk2 }:
|
||||||
|
|
||||||
@ -14,12 +14,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ gtk2 perlXMLParser libxml2 gettext python libxml2Python docbook5
|
[ gtk2 libxml2 gettext python libxml2Python docbook5
|
||||||
libxslt docbook_xsl libart_lgpl hicolor-icon-theme ]
|
libxslt docbook_xsl libart_lgpl hicolor-icon-theme ]
|
||||||
++ stdenv.lib.optional withGNOME libgnomeui
|
++ stdenv.lib.optional withGNOME libgnomeui
|
||||||
++ stdenv.lib.optional stdenv.isDarwin gtk-mac-integration-gtk2;
|
++ stdenv.lib.optional stdenv.isDarwin gtk-mac-integration-gtk2;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool perl ];
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
NOCONFIGURE=1 ./autogen.sh # autoreconfHook is not enough
|
NOCONFIGURE=1 ./autogen.sh # autoreconfHook is not enough
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, gtk2, perl, perlXMLParser, pkgconfig } :
|
{stdenv, fetchurl, gtk2, perlPackages, pkgconfig } :
|
||||||
|
|
||||||
let version = "0.4"; in
|
let version = "0.4"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -21,7 +21,8 @@ stdenv.mkDerivation {
|
|||||||
[ ];
|
[ ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ gtk2 perl perlXMLParser ];
|
buildInputs = [ gtk2 ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Simple GTK+2 color selector";
|
description = "Simple GTK+2 color selector";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libXft
|
{ stdenv, fetchurl, pkgconfig, perlPackages, libXft
|
||||||
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
|
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
|
||||||
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
|
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
|
||||||
, gsl, python2, poppler, imagemagick, libwpg, librevenge
|
, gsl, python2, poppler, imagemagick, libwpg, librevenge
|
||||||
@ -39,7 +39,8 @@ stdenv.mkDerivation rec {
|
|||||||
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
|
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env perl perlXMLParser ];
|
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libXft libpng zlib popt boehmgc
|
libXft libpng zlib popt boehmgc
|
||||||
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
|
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, buildPerlPackage, perlPackages, rtmpdump}:
|
{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
name = "get_iplayer-${version}";
|
name = "get_iplayer-${version}";
|
||||||
version = "2.99";
|
version = "2.99";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, glib, fetchurl, fetchpatch, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
{ stdenv, glib, fetchurl, fetchpatch, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
||||||
, perl, perlXMLParser, evolution-data-server, gnome-doc-utils, avahi, autoreconfHook
|
, perlPackages, evolution-data-server, gnome-doc-utils, avahi, autoreconfHook
|
||||||
, libsigcxx, gtk, dbus-glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
|
, libsigcxx, gtk, dbus-glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
|
||||||
, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib
|
, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib
|
||||||
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
||||||
@ -13,12 +13,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
||||||
perl perlXMLParser evolution-data-server gnome-doc-utils avahi
|
evolution-data-server gnome-doc-utils avahi
|
||||||
libsigcxx gtk dbus-glib libnotify libXext xextproto sqlite
|
libsigcxx gtk dbus-glib libnotify libXext xextproto sqlite
|
||||||
gnome3.libsoup glib gnome3.defaultIconTheme boost
|
gnome3.libsoup glib gnome3.defaultIconTheme boost
|
||||||
autoreconfHook pkgconfig libxml2 videoproto unixODBC db nspr
|
autoreconfHook pkgconfig libxml2 videoproto unixODBC db nspr
|
||||||
nss zlib libsecret libXrandr randrproto which libxslt libtasn1
|
nss zlib libsecret libXrandr randrproto which libxslt libtasn1
|
||||||
gmp nettle makeWrapper ];
|
gmp nettle makeWrapper ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk2, gtkspell2, aspell
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk2, gtkspell2, aspell
|
||||||
, gst_all_1, startupnotification, gettext
|
, gst_all_1, startupnotification, gettext
|
||||||
, perl, perlXMLParser, libxml2, nss, nspr, farstream
|
, perlPackages, libxml2, nss, nspr, farstream
|
||||||
, libXScrnSaver, ncurses, avahi, dbus, dbus-glib, intltool, libidn
|
, libXScrnSaver, ncurses, avahi, dbus, dbus-glib, intltool, libidn
|
||||||
, lib, python, libICE, libXext, libSM
|
, lib, python, libICE, libXext, libSM
|
||||||
, cyrus_sasl ? null
|
, cyrus_sasl ? null
|
||||||
@ -40,9 +40,8 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||||||
++ (lib.optional (gnutls != null) gnutls)
|
++ (lib.optional (gnutls != null) gnutls)
|
||||||
++ (lib.optional (libgcrypt != null) libgcrypt);
|
++ (lib.optional (libgcrypt != null) libgcrypt);
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ pkgconfig gtk2 gettext ]
|
||||||
pkgconfig gtk2 perl perlXMLParser gettext
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
];
|
|
||||||
|
|
||||||
patches = [ ./pidgin-makefile.patch ./add-search-path.patch ];
|
patches = [ ./pidgin-makefile.patch ./add-search-path.patch ];
|
||||||
|
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, buildPythonApplication, fetchurl, pythonOlder
|
||||||
|
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
|
||||||
|
buildPythonApplication rec {
|
||||||
|
name = "poezio-${version}";
|
||||||
|
version = "0.12";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ];
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://dev.louiz.org/attachments/download/129/${name}.tar.gz";
|
||||||
|
sha256 = "11n9x82xyjwbqk28lsfnvqwn8qc9flv6w2c64camh6j3148ykpvz";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Free console XMPP client";
|
||||||
|
homepage = https://poez.io;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.lsix ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
|
{ stdenv, fetchurl, pkgconfig, intltool, perlPackages
|
||||||
, goffice, gnome3, makeWrapper, gtk3, bison, pythonPackages
|
, goffice, gnome3, makeWrapper, gtk3, bison, pythonPackages
|
||||||
, itstool
|
, itstool
|
||||||
}:
|
}:
|
||||||
@ -29,10 +29,10 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# ToDo: optional libgda, introspection?
|
# ToDo: optional libgda, introspection?
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
intltool perl perlXMLParser bison
|
intltool bison
|
||||||
goffice gtk3 makeWrapper gnome3.defaultIconTheme
|
goffice gtk3 makeWrapper gnome3.defaultIconTheme
|
||||||
python pygobject3 itstool
|
python pygobject3 itstool
|
||||||
];
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#AMR-WB IF2 support no
|
#AMR-WB IF2 support no
|
||||||
|
|
||||||
{ stdenv, fetchurl, gtk2, libglade, libxml2, libraw1394, libsamplerate, libdv
|
{ stdenv, fetchurl, gtk2, libglade, libxml2, libraw1394, libsamplerate, libdv
|
||||||
, pkgconfig, perl, perlXMLParser, libavc1394, libiec61883, libXv, gettext
|
, pkgconfig, perlPackages, libavc1394, libiec61883, libXv, gettext
|
||||||
, libX11, glib, cairo, intltool, ffmpeg, libv4l
|
, libX11, glib, cairo, intltool, ffmpeg, libv4l
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -64,7 +64,8 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk2 libglade libxml2 libraw1394 libsamplerate libdv
|
buildInputs = [ gtk2 libglade libxml2 libraw1394 libsamplerate libdv
|
||||||
pkgconfig perl perlXMLParser libavc1394 libiec61883 intltool libXv gettext libX11 glib cairo ffmpeg libv4l ]; # TODOoptional packages
|
pkgconfig libavc1394 libiec61883 intltool libXv gettext libX11 glib cairo ffmpeg libv4l ] # TODOoptional packages
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
configureFlags = [ "--enable-local-ffmpeg=no" ];
|
configureFlags = [ "--enable-local-ffmpeg=no" ];
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, libX11, libXv, libSM
|
, libX11, libXv, libSM
|
||||||
, gtk, libglade
|
, gtk, libglade
|
||||||
, wxGTK
|
, wxGTK
|
||||||
, perlXMLParser
|
, perlPackages
|
||||||
, xvidcore
|
, xvidcore
|
||||||
, mjpegtools
|
, mjpegtools
|
||||||
, alsaLib
|
, alsaLib
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ pkgconfig intltool libX11 libXv libSM gtk libglade wxGTK perlXMLParser xvidcore mjpegtools alsaLib libv4l cimg ];
|
[ pkgconfig intltool libX11 libXv libSM gtk libglade wxGTK perlPackages.XMLParser xvidcore mjpegtools alsaLib libv4l cimg ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE="-I ${cimg}/include/cimg";
|
NIX_CFLAGS_COMPILE="-I ${cimg}/include/cimg";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gtk2
|
{ stdenv, fetchurl, perlPackages, pkgconfig, gtk2
|
||||||
, scrollkeeper, libglade, libXmu, libX11, libXext, gettext
|
, scrollkeeper, libglade, libXmu, libX11, libXext, gettext
|
||||||
, lame, libXfixes, libXdamage }:
|
, lame, libXfixes, libXdamage }:
|
||||||
|
|
||||||
@ -14,9 +14,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
perl perlXMLParser gtk2 scrollkeeper
|
gtk2 scrollkeeper
|
||||||
libglade libXmu gettext lame libXdamage libXfixes libXext libX11
|
libglade libXmu gettext lame libXdamage libXfixes libXext libX11
|
||||||
];
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
# !!! don't know why this is necessary
|
# !!! don't know why this is necessary
|
||||||
NIX_LDFLAGS = "-lXext -lX11 -lz -lgcc_s";
|
NIX_LDFLAGS = "-lXext -lX11 -lz -lgcc_s";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
|
{stdenv, fetchurl, pkgconfig, gettext, perlPackages, intltool
|
||||||
, libxml2, glib}:
|
, libxml2, glib}:
|
||||||
|
|
||||||
let version = "1.10"; in
|
let version = "1.10"; in
|
||||||
@ -10,9 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6";
|
sha256 = "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
|
buildInputs = [ libxml2 glib ];
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42, automake, gettext}:
|
{stdenv, fetchurl, pkgconfig, perlPackages, libxml2, libxslt, docbook_xml_dtd_42, automake, gettext}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "scrollkeeper-0.3.14";
|
name = "scrollkeeper-0.3.14";
|
||||||
@ -14,6 +14,7 @@ stdenv.mkDerivation {
|
|||||||
";
|
";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ perl perlXMLParser libxml2 libxslt gettext];
|
buildInputs = [ libxml2 libxslt gettext ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml" ];
|
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml" ];
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
, ignoreCollisions ? false
|
, ignoreCollisions ? false
|
||||||
, requiredPythonModules
|
, requiredPythonModules
|
||||||
|
# Wrap executables with the given argument.
|
||||||
|
, makeWrapperArgs ? []
|
||||||
, }:
|
, }:
|
||||||
|
|
||||||
# Create a python executable that knows about additional packages.
|
# Create a python executable that knows about additional packages.
|
||||||
@ -32,7 +34,7 @@ let
|
|||||||
if [ -f "$prg" ]; then
|
if [ -f "$prg" ]; then
|
||||||
rm -f "$out/bin/$prg"
|
rm -f "$out/bin/$prg"
|
||||||
if [ -x "$prg" ]; then
|
if [ -x "$prg" ]; then
|
||||||
makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set PYTHONHOME "$out" --set PYTHONNOUSERSITE "true"
|
makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set PYTHONHOME "$out" --set PYTHONNOUSERSITE "true" ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser
|
{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perlPackages
|
||||||
, expat, gettext, intltool, glib, libiconv
|
, expat, gettext, intltool, glib, libiconv
|
||||||
, qt4 ? null
|
, qt4 ? null
|
||||||
, qt4Support ? false
|
, qt4Support ? false
|
||||||
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./no-mkdir-localstatedir.patch ];
|
patches = [ ./no-mkdir-localstatedir.patch ];
|
||||||
|
|
||||||
buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ]
|
buildInputs = [ libdaemon dbus glib expat libiconv ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ])
|
||||||
++ (stdenv.lib.optional qt4Support qt4);
|
++ (stdenv.lib.optional qt4Support qt4);
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext intltool glib ];
|
nativeBuildInputs = [ pkgconfig gettext intltool glib ];
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl
|
||||||
|
, buildPackages
|
||||||
, pkgconfig, which, makeWrapper
|
, pkgconfig, which, makeWrapper
|
||||||
, zlib, bzip2, libpng, gnumake, glib
|
, zlib, bzip2, libpng, gnumake, glib
|
||||||
|
|
||||||
@ -50,6 +51,9 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--disable-static" "--bindir=$(dev)/bin" ];
|
configureFlags = [ "--disable-static" "--bindir=$(dev)/bin" ];
|
||||||
|
|
||||||
|
# native compiler to generate building tool
|
||||||
|
CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc";
|
||||||
|
|
||||||
# The asm for armel is written with the 'asm' keyword.
|
# The asm for armel is written with the 'asm' keyword.
|
||||||
CFLAGS = optionalString stdenv.isAarch32 "-std=gnu99";
|
CFLAGS = optionalString stdenv.isAarch32 "-std=gnu99";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gtk2, gnome2, gnome3,
|
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gtk2, gnome2, gnome3,
|
||||||
libstartup_notification, libgtop, perl, perlXMLParser,
|
libstartup_notification, libgtop, perlPackages,
|
||||||
autoreconfHook, intltool, docbook_xsl, xauth
|
autoreconfHook, intltool, docbook_xsl, xauth
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk2 gnome2.GConf libstartup_notification
|
gtk2 gnome2.GConf libstartup_notification
|
||||||
gnome3.libgnome-keyring libgtop gnome2.libglade perl perlXMLParser
|
gnome3.libgnome-keyring libgtop gnome2.libglade
|
||||||
];
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, lib, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
|
{stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
|
||||||
libxml2, sqlite, zlib, sg3_utils, gdk_pixbuf, taglib,
|
libxml2, sqlite, zlib, sg3_utils, gdk_pixbuf, taglib,
|
||||||
libimobiledevice, pythonPackages, mutagen,
|
libimobiledevice, pythonPackages, mutagen,
|
||||||
monoSupport ? true, mono, gtk-sharp-2_0
|
monoSupport ? true, mono, gtk-sharp-2_0
|
||||||
@ -25,8 +25,9 @@ in stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
|
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
|
||||||
gdk_pixbuf taglib libimobiledevice python pygobject2 mutagen ];
|
gdk_pixbuf taglib libimobiledevice python pygobject2 mutagen ];
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext perlXMLParser intltool pkgconfig perl] ++
|
nativeBuildInputs = [ gettext intltool pkgconfig ]
|
||||||
lib.optionals monoSupport [ mono gtk-sharp-2_0 ];
|
++ (with perlPackages; [ perl XMLParser ])
|
||||||
|
++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gtkpod.sourceforge.net/;
|
homepage = http://gtkpod.sourceforge.net/;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, fetchpatch
|
{ stdenv, lib, fetchurl, fetchpatch
|
||||||
, zlib, xz, python2, findXMLCatalogs
|
, zlib, xz, python2, ncurses, findXMLCatalogs
|
||||||
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||||
, icuSupport ? false, icu ? null
|
, icuSupport ? false, icu ? null
|
||||||
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
|
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
|
||||||
@ -37,6 +37,7 @@ in stdenv.mkDerivation rec {
|
|||||||
propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";
|
propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";
|
||||||
|
|
||||||
buildInputs = lib.optional pythonSupport python
|
buildInputs = lib.optional pythonSupport python
|
||||||
|
++ lib.optional (pythonSupport && python?isPy3 && python.isPy3) ncurses
|
||||||
# Libxml2 has an optional dependency on liblzma. However, on impure
|
# Libxml2 has an optional dependency on liblzma. However, on impure
|
||||||
# platforms, it may end up using that from /usr/lib, and thus lack a
|
# platforms, it may end up using that from /usr/lib, and thus lack a
|
||||||
# RUNPATH for that, leading to undefined references for its users.
|
# RUNPATH for that, leading to undefined references for its users.
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook, zlib, gmock
|
, autoreconfHook, zlib, gmock, which, buildPackages
|
||||||
, version, sha256
|
, version, sha256
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
mkProtobufDerivation = buildProtobuf: stdenv: stdenv.mkDerivation rec {
|
||||||
name = "protobuf-${version}";
|
name = "protobuf-${version}";
|
||||||
|
|
||||||
# make sure you test also -A pythonPackages.protobuf
|
# make sure you test also -A pythonPackages.protobuf
|
||||||
@ -28,8 +29,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace 'tmpnam(b)' '"'$TMPDIR'/foo"'
|
--replace 'tmpnam(b)' '"'$TMPDIR'/foo"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook buildPackages.which buildPackages.stdenv.cc buildProtobuf ];
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
configureFlags = if buildProtobuf == null then [] else [ "--with-protoc=${buildProtobuf}/bin/protoc" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -54,4 +57,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
passthru.version = version;
|
passthru.version = version;
|
||||||
}
|
};
|
||||||
|
in mkProtobufDerivation(if (stdenv.buildPlatform != stdenv.hostPlatform)
|
||||||
|
then (mkProtobufDerivation null buildPackages.stdenv)
|
||||||
|
else null) stdenv
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42, gnome3}:
|
{stdenv, fetchurl, pkgconfig, perlPackages, libxml2, libxslt, docbook_xml_dtd_42, gnome3}:
|
||||||
let
|
let
|
||||||
pname = "rarian";
|
pname = "rarian";
|
||||||
version = "0.8.1";
|
version = "0.8.1";
|
||||||
@ -11,7 +11,8 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ perl perlXMLParser libxml2 libxslt];
|
buildInputs = [ libxml2 libxslt ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ]);
|
||||||
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat" ];
|
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat" ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -25,11 +25,11 @@ let
|
|||||||
|
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "Cython";
|
pname = "Cython";
|
||||||
version = "0.28.3";
|
version = "0.28.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1aae6d6e9858888144cea147eb5e677830f45faaff3d305d77378c3cba55f526";
|
sha256 = "b64575241f64f6ec005a4d4137339fb0ba5e156e826db2fdb5f458060d9979e0";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -50,15 +50,6 @@ in buildPythonPackage rec {
|
|||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
patches = [
|
|
||||||
# The following is in GitHub in 0.28.3 but not in the `sdist`.
|
|
||||||
# https://github.com/cython/cython/issues/2319
|
|
||||||
(fetchpatch {
|
|
||||||
url = https://github.com/cython/cython/commit/c485b1b77264c3c75d090a3c526de24966830d42.patch;
|
|
||||||
sha256 = "1p6jj9rb097kqvhs5j5127sj5zy18l7x9v0p478cjyzh41khh9r0";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||||
homepage = http://cython.org;
|
homepage = http://cython.org;
|
||||||
|
36
pkgs/development/python-modules/Fabric/default.nix
Normal file
36
pkgs/development/python-modules/Fabric/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ pkgs
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, invoke
|
||||||
|
, paramiko
|
||||||
|
, cryptography
|
||||||
|
, pytest
|
||||||
|
, mock
|
||||||
|
, pytest-relaxed
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "fabric";
|
||||||
|
version = "2.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
||||||
|
checkInputs = [ pytest mock pytest-relaxed ];
|
||||||
|
|
||||||
|
# ignore subprocess main errors (1) due to hardcoded /bin/bash
|
||||||
|
checkPhase = ''
|
||||||
|
rm tests/main.py
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with pkgs.lib; {
|
||||||
|
description = "Pythonic remote execution";
|
||||||
|
homepage = https://www.fabfile.org/;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -45,13 +45,13 @@ let
|
|||||||
|
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "Theano";
|
pname = "Theano";
|
||||||
version = "1.0.2";
|
version = "1.0.3";
|
||||||
|
|
||||||
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
|
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6768e003d328a17011e6fca9126fbb8a6ffd3bb13cb21c450f3e724cca29abde";
|
sha256 = "637f3b34d40ef5e0d54dd4c40618475aaa085c26d2491e925c98e2ad4bc2115a";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "alabaster";
|
pname = "alabaster";
|
||||||
version = "0.7.11";
|
version = "0.7.12";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b63b1f4dc77c074d386752ec4a8a7517600f6c0db8cd42980cae17ab7b3275d7";
|
sha256 = "a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pygments ];
|
propagatedBuildInputs = [ pygments ];
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "autobahn";
|
pname = "autobahn";
|
||||||
version = "18.8.1";
|
version = "18.8.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b69858e0be4bff8437b0bd82a0db1cbef7405e16bd9354ba587c043d6d5e1ad9";
|
sha256 = "448df2e241011ea2948799918930042d81e63d26b01912c472f5a9a37f42f319";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
, nose, requests }:
|
, nose, requests }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.1.2";
|
version = "2.1.3";
|
||||||
pname = "beancount";
|
pname = "beancount";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "d0d5f7088cb6b699cc4d030dad42d20b8228232cdb445bb1330d4ef5e3581f52";
|
sha256 = "4b7b0d3633c82ca88d3cb3d31ad2fd2e45a42401cfa94eaa1cb938ffece34f22";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
checkInputs = [ nose ];
|
||||||
|
42
pkgs/development/python-modules/bedup/default.nix
Normal file
42
pkgs/development/python-modules/bedup/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, btrfs-progs
|
||||||
|
, contextlib2
|
||||||
|
, pyxdg
|
||||||
|
, pycparser
|
||||||
|
, alembic
|
||||||
|
, cffi
|
||||||
|
, pythonOlder
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.10.1";
|
||||||
|
pname = "bedup";
|
||||||
|
disabled = pythonOlder "3.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "g2p";
|
||||||
|
repo = "bedup";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0sp8pmjkxcqq0alianfp41mwq7qj10rk1qy31pjjp9kiph1rn0x6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ btrfs-progs ];
|
||||||
|
propagatedBuildInputs = [ contextlib2 pyxdg pycparser alembic ]
|
||||||
|
++ stdenv.lib.optionals (!isPyPy) [ cffi ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Deduplication for Btrfs";
|
||||||
|
longDescription = ''
|
||||||
|
Deduplication for Btrfs. bedup looks for new and changed files,
|
||||||
|
making sure that multiple copies of identical files share space
|
||||||
|
on disk. It integrates deeply with btrfs so that scans are
|
||||||
|
incremental and low-impact.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/g2p/bedup;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ bluescreen303 ];
|
||||||
|
};
|
||||||
|
}
|
37
pkgs/development/python-modules/binwalk/default.nix
Normal file
37
pkgs/development/python-modules/binwalk/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, zlib
|
||||||
|
, xz
|
||||||
|
, ncompress
|
||||||
|
, gzip
|
||||||
|
, bzip2
|
||||||
|
, gnutar
|
||||||
|
, p7zip
|
||||||
|
, cabextract
|
||||||
|
, lzma
|
||||||
|
, pycrypto
|
||||||
|
, pyqtgraph ? null }:
|
||||||
|
|
||||||
|
let visualizationSupport = (pyqtgraph != null);
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "binwalk-${version}";
|
||||||
|
version = "2.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "devttys0";
|
||||||
|
repo = "binwalk";
|
||||||
|
rev = "291a03595d17f848c73b74cb6ca508da782cd8f7";
|
||||||
|
sha256 = "0grid93yz6i6jb2zggrqncp5awdf7qi88j5y2k7dq0k9r6b8zydw";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma pycrypto ]
|
||||||
|
++ stdenv.lib.optional visualizationSupport pyqtgraph;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "http://binwalk.org";
|
||||||
|
description = "A tool for searching a given binary image for embedded files";
|
||||||
|
maintainers = [ maintainers.koral ];
|
||||||
|
};
|
||||||
|
}
|
@ -3,26 +3,26 @@
|
|||||||
let
|
let
|
||||||
wheel_source = fetchPypi {
|
wheel_source = fetchPypi {
|
||||||
pname = "wheel";
|
pname = "wheel";
|
||||||
version = "0.31.1";
|
version = "0.32.1";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
sha256 = "80044e51ec5bbf6c894ba0bc48d26a8c20a9ba629f4ca19ea26ecfcf87685f5f";
|
sha256 = "15hizylh761jcaz8zfdc3wg30jf33izaakyv1p82ppx2y5rgg8cz";
|
||||||
};
|
};
|
||||||
setuptools_source = fetchPypi {
|
setuptools_source = fetchPypi {
|
||||||
pname = "setuptools";
|
pname = "setuptools";
|
||||||
version = "40.2.0";
|
version = "40.4.3";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
sha256 = "ea3796a48a207b46ea36a9d26de4d0cc87c953a683a7b314ea65d666930ea8e6";
|
sha256 = "1zzryv1fqx4nk7hzv4afxpl8k7f60lc0qkhxlc8sqjs4igakfhff";
|
||||||
};
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "pip";
|
pname = "pip";
|
||||||
version = "18.0";
|
version = "18.1";
|
||||||
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
|
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
sha256 = "070e4bf493c7c2c9f6a08dd797dd3c066d64074c38e9e8a0fb4e6541f266d96c";
|
sha256 = "7909d0a0932e88ea53a7014dfd14522ffef91a464daaaf5c573343852ef98550";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
37
pkgs/development/python-modules/box2d/default.nix
Normal file
37
pkgs/development/python-modules/box2d/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, swig2
|
||||||
|
, pkgs-box2d
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Box2D";
|
||||||
|
version = "2.3.2";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "d1557dffdf9c1d6c796ec5df53e3d93227bb026c14b8411d22c295edaa2fb225";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "s/'Box2D.tests' : 'tests'//" setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ swig2 pkgs-box2d ];
|
||||||
|
|
||||||
|
# tests not included with pypi release
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/pybox2d/pybox2d;
|
||||||
|
description = ''
|
||||||
|
A 2D game physics library for Python under
|
||||||
|
the very liberal zlib license
|
||||||
|
'';
|
||||||
|
license = licenses.zlib;
|
||||||
|
maintainers = with maintainers; [ sepi ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,14 +0,0 @@
|
|||||||
Common subdirectories: Box2D-2.3b0/Box2D and Box2D-2.3b0.new/Box2D
|
|
||||||
Common subdirectories: Box2D-2.3b0/examples and Box2D-2.3b0.new/examples
|
|
||||||
Common subdirectories: Box2D-2.3b0/library and Box2D-2.3b0.new/library
|
|
||||||
diff -u Box2D-2.3b0/setup.py Box2D-2.3b0.new/setup.py
|
|
||||||
--- Box2D-2.3b0/setup.py 2013-02-02 18:09:34.000000000 +0100
|
|
||||||
+++ Box2D-2.3b0.new/setup.py 2014-10-25 13:32:07.136922343 +0200
|
|
||||||
@@ -176,7 +176,6 @@
|
|
||||||
package_dir = {'Box2D': library_path,
|
|
||||||
'Box2D.b2': os.path.join(library_path, 'b2'),
|
|
||||||
'Box2D.tests' : 'tests'},
|
|
||||||
- test_suite = 'tests',
|
|
||||||
options = { 'build_ext': { 'swig_opts' : swig_arguments },
|
|
||||||
'egg_info' : { 'egg_base' : library_base },
|
|
||||||
},
|
|
38
pkgs/development/python-modules/bsddb3/default.nix
Normal file
38
pkgs/development/python-modules/bsddb3/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pkgs
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bsddb3";
|
||||||
|
version = "6.2.6";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.db ];
|
||||||
|
|
||||||
|
# Judging from SyntaxError in test
|
||||||
|
doCheck = false; # test suite breaks python3 compatibility
|
||||||
|
|
||||||
|
# Path to database need to be set.
|
||||||
|
# Somehow the setup.py flag is not propagated.
|
||||||
|
#setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ];
|
||||||
|
# We can also use a variable
|
||||||
|
preConfigure = ''
|
||||||
|
export BERKELEYDB_DIR=${pkgs.db.dev};
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python bindings for Oracle Berkeley DB";
|
||||||
|
homepage = https://www.jcea.es/programacion/pybsddb.htm;
|
||||||
|
license = with licenses; [ agpl3 ]; # License changed from bsd3 to agpl3 since 6.x
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
26
pkgs/development/python-modules/bugz/default.nix
Normal file
26
pkgs/development/python-modules/bugz/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bugz-0.9.3";
|
||||||
|
version = "0.13";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "williamh";
|
||||||
|
repo = "pybugz";
|
||||||
|
rev = "0.13";
|
||||||
|
sha256 = "1nw07q7r078dp82rcrhvvnhmnaqjx6f8a6cdjgrsiy6fryrx9dwz";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.liquidx.net/pybugz/;
|
||||||
|
description = "Command line interface for Bugzilla";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zc.buildout";
|
pname = "zc.buildout";
|
||||||
version = "2.12.1";
|
version = "2.12.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1e180b62fd129a68cb3a9ec8eb0ef457e18921269a93e87ef2cc34519415332d";
|
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./nix.patch ];
|
patches = [ ./nix.patch ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zc.buildout";
|
pname = "zc.buildout";
|
||||||
version = "2.12.1";
|
version = "2.12.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1e180b62fd129a68cb3a9ec8eb0ef457e18921269a93e87ef2cc34519415332d";
|
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bumps";
|
pname = "bumps";
|
||||||
version = "0.7.10";
|
version = "0.7.11";
|
||||||
|
|
||||||
propagatedBuildInputs = [six];
|
propagatedBuildInputs = [six];
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "07917abf7e598f2a42456ca4f704c6da2a5489eaea0b9a7c61ed8a26506737c8";
|
sha256 = "16d24a7f965592d9b02f96e68e6aa70d6fb59abe4db37bb14c4b60c509a3c2ef";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "asynkdev";
|
||||||
|
pname = "caldavclientlibrary-asynk";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/skarra/CalDAVClientLibrary.git";
|
||||||
|
rev = "06699b08190d50cc2636b921a654d67db0a967d1";
|
||||||
|
sha256 = "157q32251ac9x3gdshgrjwsy48nq74vrzviswvph56h9wa8ksnnk";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python library and tool for CalDAV";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
CalDAVCLientLibrary is a Python library and tool for CalDAV.
|
||||||
|
|
||||||
|
This package is the unofficial CalDAVCLientLibrary Python
|
||||||
|
library maintained by the author of Asynk and is needed for
|
||||||
|
that package.
|
||||||
|
'';
|
||||||
|
|
||||||
|
homepage = https://github.com/skarra/CalDAVClientLibrary/tree/asynkdev/;
|
||||||
|
maintainers = with maintainers; [ pjones ];
|
||||||
|
broken = true; # 2018-04-11
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
38
pkgs/development/python-modules/capstone/default.nix
Normal file
38
pkgs/development/python-modules/capstone/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "capstone";
|
||||||
|
version = "3.0.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
stripLen = 2;
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.patch";
|
||||||
|
sha256 = "0yizqrdlxqxn16873593kdx2vrr7gvvilhgcf9xy6hr0603d3m5r";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs src/make.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
mv src/libcapstone.so capstone
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "http://www.capstone-engine.org/";
|
||||||
|
license = licenses.bsdOriginal;
|
||||||
|
description = "Capstone disassembly engine";
|
||||||
|
maintainers = with maintainers; [ bennofs ];
|
||||||
|
};
|
||||||
|
}
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "carbon";
|
pname = "carbon";
|
||||||
version = "1.1.3";
|
version = "1.1.4";
|
||||||
|
|
||||||
disabled = isPy3k;
|
disabled = isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1s7327p30w4l9ak4gc7m5ga521233179n2lr3j0ggfbmfhd6blky";
|
sha256 = "1b70e34ac0f0bd32a03ee14eaf1ed2c857e208984fc9761f59a95c21c5264513";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
||||||
|
55
pkgs/development/python-modules/cassandra-driver/default.nix
Normal file
55
pkgs/development/python-modules/cassandra-driver/default.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pkgs
|
||||||
|
, cython
|
||||||
|
, futures
|
||||||
|
, six
|
||||||
|
, python
|
||||||
|
, scales
|
||||||
|
, eventlet
|
||||||
|
, twisted
|
||||||
|
, mock
|
||||||
|
, gevent
|
||||||
|
, nose
|
||||||
|
, pytz
|
||||||
|
, pyyaml
|
||||||
|
, sure
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cassandra-driver";
|
||||||
|
version = "3.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1aqmy3psn12lxgp659d0zsxkirxzy5lnbnzxf9xjq1a93s3qm704";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.libev cython ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ]
|
||||||
|
++ stdenv.lib.optionals (pythonOlder "3.4") [ futures ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "s/<=1.0.1//" setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} setup.py gevent_nosetests
|
||||||
|
${python.interpreter} setup.py eventlet_nosetests
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ scales eventlet twisted mock gevent nose pytz pyyaml sure ];
|
||||||
|
|
||||||
|
# Could not get tests running
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://datastax.github.io/python-driver/;
|
||||||
|
description = "A Python client driver for Apache Cassandra";
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
24
pkgs/development/python-modules/cddb/default.nix
Normal file
24
pkgs/development/python-modules/cddb/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, pkgs
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "CDDB-1.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "http://cddb-py.sourceforge.net/${name}.tar.gz";
|
||||||
|
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://cddb-py.sourceforge.net/;
|
||||||
|
description = "CDDB and FreeDB audio CD track info access";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
22
pkgs/development/python-modules/chameleon/default.nix
Normal file
22
pkgs/development/python-modules/chameleon/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Chameleon";
|
||||||
|
version = "2.25";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0va95cml7wfjpvgj3dc9xdn8psyjh3zbk6v51b0hcqv2fzh409vb";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://chameleon.readthedocs.io/;
|
||||||
|
description = "Fast HTML/XML Template Compiler";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ garbas domenkozar ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "click-plugins";
|
pname = "click-plugins";
|
||||||
version = "1.0.3";
|
version = "1.0.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1ifphgaw5mmcdnqd0qfnmrbm62q3k6p573aff4cxgpyjxmz5xk3s";
|
sha256 = "dfed74b5063546a137de99baaaf742b4de4337ad2b3e1df5ec7c8a256adc0847";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
33
pkgs/development/python-modules/closure-linter/default.nix
Normal file
33
pkgs/development/python-modules/closure-linter/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, isPy3k
|
||||||
|
, gflags
|
||||||
|
}:
|
||||||
|
|
||||||
|
/* There is a project called "closure-linter" on PyPI that is the
|
||||||
|
same as this, but it does not appear to be owned by Google.
|
||||||
|
So we're pulling from Google's GitHub repo instead. */
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "closure-linter";
|
||||||
|
version = "2.3.19";
|
||||||
|
|
||||||
|
/* This project has no Python 3 support, as noted by
|
||||||
|
https://github.com/google/closure-linter/issues/81 */
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/google/closure-linter";
|
||||||
|
rev = "5c27529075bb88bdc45e73008f496dec8438d658";
|
||||||
|
sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ gflags ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Checks JavaScript files against Google's style guide.";
|
||||||
|
homepage = "https://developers.google.com/closure/utilities/";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cloudpickle";
|
pname = "cloudpickle";
|
||||||
version = "0.5.5";
|
version = "0.5.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6ea4b548f61a4f616b065182716318c7dced8c053517f35ac59cec22802daf3d";
|
sha256 = "0390ecb3731ac035d74c34651460f4a683e9ef7443861712b8d56c20c2f92113";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest mock ];
|
buildInputs = [ pytest mock ];
|
||||||
|
38
pkgs/development/python-modules/cntk/default.nix
Normal file
38
pkgs/development/python-modules/cntk/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, pkgs
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, enum34
|
||||||
|
, protobuf
|
||||||
|
, pip
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
inherit (pkgs.cntk) name version src meta;
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.cntk pkgs.swig pkgs.openmpi ];
|
||||||
|
propagatedBuildInputs = [ numpy scipy enum34 protobuf pip ];
|
||||||
|
|
||||||
|
CNTK_LIB_PATH = "${pkgs.cntk}/lib";
|
||||||
|
CNTK_COMPONENT_VERSION = pkgs.cntk.version;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
cd bindings/python
|
||||||
|
sed -i 's,"libmpi.so.12","${pkgs.openmpi}/lib/libmpi.so",g' cntk/train/distributed.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
rm -rf $out/${python.sitePackages}/cntk/libs
|
||||||
|
ln -s ${pkgs.cntk}/lib $out/${python.sitePackages}/cntk/libs
|
||||||
|
# It's not installed for some reason.
|
||||||
|
cp cntk/cntk_py.py $out/${python.sitePackages}/cntk
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Actual tests are broken.
|
||||||
|
checkPhase = ''
|
||||||
|
cd $NIX_BUILD_TOP
|
||||||
|
${python.interpreter} -c "import cntk"
|
||||||
|
'';
|
||||||
|
}
|
35
pkgs/development/python-modules/colanderalchemy/default.nix
Normal file
35
pkgs/development/python-modules/colanderalchemy/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchpatch
|
||||||
|
, fetchPypi
|
||||||
|
, unittest2
|
||||||
|
, colander
|
||||||
|
, sqlalchemy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ColanderAlchemy";
|
||||||
|
version = "0.3.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "11wcni2xmfmy001rj62q2pwf305vvngkrfm5c4zlwvgbvlsrvnnw";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/stefanofontanelli/ColanderAlchemy/commit/b45fe35f2936a5ccb705e9344075191e550af6c9.patch";
|
||||||
|
sha256 = "1kf278wjq49zd6fhpp55vdcawzdd107767shzfck522sv8gr6qvx";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ unittest2 ];
|
||||||
|
propagatedBuildInputs = [ colander sqlalchemy ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Autogenerate Colander schemas based on SQLAlchemy models";
|
||||||
|
homepage = https://github.com/stefanofontanelli/ColanderAlchemy;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
24
pkgs/development/python-modules/colored/default.nix
Normal file
24
pkgs/development/python-modules/colored/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "colored";
|
||||||
|
version = "1.1.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1r1vsypk8v7az82d66bidbxlndx1h7xd4m43hpg1a6hsjr30wrm3";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No proper test suite
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://gitlab.com/dslackw/colored;
|
||||||
|
description = "Simple library for color and formatting to terminal";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
31
pkgs/development/python-modules/cornice/default.nix
Normal file
31
pkgs/development/python-modules/cornice/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pyramid
|
||||||
|
, simplejson
|
||||||
|
, six
|
||||||
|
, venusian
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cornice";
|
||||||
|
version = "3.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "a7f8db903ba06c2584c7db4474459de3565d90b5e4ae4b97c687840e11d5b7fd";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pyramid simplejson six venusian ];
|
||||||
|
|
||||||
|
# tests not packaged with pypi release
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mozilla-services/cornice;
|
||||||
|
description = "Build Web Services with Pyramid";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cupy";
|
pname = "cupy";
|
||||||
version = "4.4.0";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "fca0e3d3fdad4c825197ea421bed0d253224b44daf738d82af5cba856c1c0b3e";
|
sha256 = "d46a3eea628a17b9c3f446e4b13513a1f0cc0b9930214417b41c90dcf0bb427f";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cvxopt";
|
pname = "cvxopt";
|
||||||
version = "1.2.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
disabled = isPyPy; # hangs at [translation:info]
|
disabled = isPyPy; # hangs at [translation:info]
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "3296c9d49b7dcb894b20db5d7d1c1a443912b4d82358e03f836575e8398e0d60";
|
sha256 = "12e3cfda982576b0b9b597d297aaf3172efa765a20fbed6f3c066aa0c48ee817";
|
||||||
};
|
};
|
||||||
|
|
||||||
# similar to Gsl, glpk, fftw there is also a dsdp interface
|
# similar to Gsl, glpk, fftw there is also a dsdp interface
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.1.1";
|
version = "0.1.2";
|
||||||
pname = "dask-image";
|
pname = "dask-image";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "e6294ac577a8fc0abec2b97a2c42d404f599feac61d6899bdf1bf2b7cfb0e015";
|
sha256 = "401e2c345a582eb2859a4a2a4a6fcfbc85beece59705f3ead9b6708a0cd183e7";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest scikitimage ];
|
checkInputs = [ pytest scikitimage ];
|
||||||
|
21
pkgs/development/python-modules/ddt/default.nix
Normal file
21
pkgs/development/python-modules/ddt/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ddt";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "e24ecb7e2cf0bf43fa9d4255d3ae2bd0b7ce30b1d1b89ace7aa68aca1152f37a";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
||||||
|
homepage = https://github.com/txels/ddt;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "deprecation";
|
pname = "deprecation";
|
||||||
version = "2.0.5";
|
version = "2.0.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "cbe7d15006bc339709be5e02b14884ecc479639c1a3714a908de3a8ca13b5ca9";
|
sha256 = "68071e5ae7cd7e9da6c7dffd750922be4825c7c3a6780d29314076009cc39c35";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ packaging ];
|
propagatedBuildInputs = [ packaging ];
|
||||||
|
41
pkgs/development/python-modules/deskcon/default.nix
Normal file
41
pkgs/development/python-modules/deskcon/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, pyopenssl
|
||||||
|
, pkgs
|
||||||
|
, isPy3k
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "deskcon-0.3";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner= "screenfreeze";
|
||||||
|
repo = "deskcon-desktop";
|
||||||
|
rev = "267804122188fa79c37f2b21f54fe05c898610e6";
|
||||||
|
sha256 ="0i1dd85ls6n14m9q7lkympms1w3x0pqyaxvalq82s4xnjdv585j3";
|
||||||
|
};
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
|
||||||
|
pythonPath = [ pyopenssl pkgs.gtk3 ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
substituteInPlace server/deskcon-server --replace "python2" "python"
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mkdir -p $out/lib/${python.libPrefix}/site-packages
|
||||||
|
cp -r "server/"* $out/lib/${python.libPrefix}/site-packages
|
||||||
|
mv $out/lib/${python.libPrefix}/site-packages/deskcon-server $out/bin/deskcon-server
|
||||||
|
|
||||||
|
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Integrates an Android device into a desktop";
|
||||||
|
homepage = https://github.com/screenfreeze/deskcon-desktop;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -26,12 +26,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "distributed";
|
pname = "distributed";
|
||||||
version = "1.23.1";
|
version = "1.23.3";
|
||||||
|
|
||||||
# get full repository need conftest.py to run tests
|
# get full repository need conftest.py to run tests
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9d4693442efe40e05e4304fe6d8174989c6eb4bad1afe70480c98263ef8e1cdb";
|
sha256 = "2d48a4de280fd7243ca76f9b12db5fe2486fc89dcdb510c77fa51f51733a04cc";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];
|
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];
|
||||||
|
21
pkgs/development/python-modules/distutils_extra/default.nix
Normal file
21
pkgs/development/python-modules/distutils_extra/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "distutils-extra";
|
||||||
|
version = "2.39";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://launchpad.net/python-distutils-extra;
|
||||||
|
description = "Enhancements to Python's distutils";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
31
pkgs/development/python-modules/django/1_8.nix
Normal file
31
pkgs/development/python-modules/django/1_8.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "Django-${version}";
|
||||||
|
version = "1.8.18";
|
||||||
|
disabled = pythonOlder "2.7";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.djangoproject.com/m/releases/1.8/${name}.tar.gz";
|
||||||
|
sha256 = "1ishvbihr9pain0486qafb18dnb7v2ppq34nnx1s8f95bvfiqqf7";
|
||||||
|
};
|
||||||
|
|
||||||
|
# too complicated to setup
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
||||||
|
postFixup = ''
|
||||||
|
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A high-level Python Web framework";
|
||||||
|
homepage = https://www.djangoproject.com/;
|
||||||
|
license = licenses.bsd0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-classy-tags";
|
||||||
|
version = "0.6.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wxvpmjdzk0aajk33y4himn3wqjx7k0aqlka9j8ay3yfav78bdq0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
# tests appear to be broken on 0.6.1 at least
|
||||||
|
doCheck = ( version != "0.6.1" );
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Class based template tags for Django";
|
||||||
|
homepage = https://github.com/ojii/django-classy-tags;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-colorful";
|
||||||
|
version = "1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Tests aren't run
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
# Requires Django >= 1.8
|
||||||
|
buildInputs = [ django ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Django extension that provides database and form color fields";
|
||||||
|
homepage = https://github.com/charettes/django-colorful;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-contrib-comments";
|
||||||
|
version = "1.9.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "689f3f80ff7ea8ab9f712ae5fe17ffa2ee8babbf8d75229ee8acc7bad461dfef";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/django/django-contrib-comments;
|
||||||
|
description = "The code formerly known as django.contrib.comments";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
27
pkgs/development/python-modules/django_environ/default.nix
Normal file
27
pkgs/development/python-modules/django_environ/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-environ";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0i32vsgk1xmwpi7i6f6v5hg653y9dl0fsz5qmv94skz6hwgm5kvh";
|
||||||
|
};
|
||||||
|
|
||||||
|
# The testsuite fails to modify the base environment
|
||||||
|
doCheck = false;
|
||||||
|
propagatedBuildInputs = [ django six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Utilize environment variables to configure your Django application";
|
||||||
|
homepage = https://github.com/joke2k/django-environ/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
26
pkgs/development/python-modules/django_evolution/default.nix
Normal file
26
pkgs/development/python-modules/django_evolution/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django_evolution";
|
||||||
|
version = "0.7.5";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1qbcx54hq8iy3n2n6cki3bka1m9rp39np4hqddrm9knc954fb7nv";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A database schema evolution tool for the Django web framework";
|
||||||
|
homepage = http://code.google.com/p/django-evolution/;
|
||||||
|
license = licenses.bsd0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytz
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-modelcluster";
|
||||||
|
version = "0.6.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1plsdi44dvsj2sfx79lsrccjfg0ymajcsf5n0mln4cwd4qi5mwpx";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pytz six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
|
||||||
|
homepage = https://github.com/torchbox/django-modelcluster/;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
28
pkgs/development/python-modules/django_nose/default.nix
Normal file
28
pkgs/development/python-modules/django_nose/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-nose";
|
||||||
|
version = "1.4.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1fm47fkza2lk0xgc6qpi9vs78zg7q8cgl6mdan69sbycgy909ff0";
|
||||||
|
};
|
||||||
|
|
||||||
|
# vast dependency list
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django nose ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Provides all the goodness of nose in your Django tests";
|
||||||
|
homepage = https://github.com/django-nose/django-nose;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-reversion";
|
||||||
|
version = "1.10.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "01iv8w6lmmq98qjhxmnp8ddjxifmhxcmp612ijd91wc8nv8lk12w";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
||||||
|
homepage = https://github.com/etianen/django-reversion;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
, pygments
|
||||||
|
, simplejson
|
||||||
|
, dateutil
|
||||||
|
, requests
|
||||||
|
, sqlparse
|
||||||
|
, jinja2
|
||||||
|
, autopep8
|
||||||
|
, pytz
|
||||||
|
, pillow
|
||||||
|
, mock
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-silk";
|
||||||
|
version = "0.5.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "845abc688738858ce06e993c4b7dbbcfcecf33029e828f143463ff96f9a78947";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
buildInputs = [ mock ];
|
||||||
|
propagatedBuildInputs = [ django pygments simplejson dateutil requests sqlparse jinja2 autopep8 pytz pillow ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Silky smooth profiling for the Django Framework";
|
||||||
|
homepage = https://github.com/mtford90/silk;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
26
pkgs/development/python-modules/django_taggit/default.nix
Normal file
26
pkgs/development/python-modules/django_taggit/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-taggit";
|
||||||
|
version = "0.17.0";
|
||||||
|
disabled = pythonOlder "2.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xy4mm1y6z6bpakw907859wz7fiw7jfm586dj89w0ggdqlb0767b";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "django-taggit is a reusable Django application for simple tagging";
|
||||||
|
homepage = https://github.com/alex/django-taggit/tree/master/;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
30
pkgs/development/python-modules/django_treebeard/default.nix
Normal file
30
pkgs/development/python-modules/django_treebeard/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-treebeard";
|
||||||
|
version = "4.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "c21db06a8d4943bf2a28d9d7a119058698fb76116df2679ecbf15a46a501de42";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
# tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Efficient tree implementations for Django 1.6+";
|
||||||
|
homepage = https://tabo.pe/projects/django-treebeard/;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dominate";
|
pname = "dominate";
|
||||||
version = "2.3.1";
|
version = "2.3.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0s9s9j9xmhkzw7apqx170fyvc0f800fd4a5jfn8xvj9k6vryd32b";
|
sha256 = "8dfcca2bde3937a2d03db6e55efcb0c0dea0d4ab0923dc983d794b19e9247328";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = !isPy3k;
|
doCheck = !isPy3k;
|
||||||
|
24
pkgs/development/python-modules/dtopt/default.nix
Normal file
24
pkgs/development/python-modules/dtopt/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dtopt";
|
||||||
|
version = "0.1";
|
||||||
|
# Test contain Python 2 print
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Add options to doctest examples while they are running";
|
||||||
|
homepage = https://pypi.python.org/pypi/dtopt;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
43
pkgs/development/python-modules/dynd/default.nix
Normal file
43
pkgs/development/python-modules/dynd/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPyPy
|
||||||
|
, isPy3k
|
||||||
|
, cython
|
||||||
|
, numpy
|
||||||
|
, pkgs
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.7.2";
|
||||||
|
pname = "dynd";
|
||||||
|
disabled = isPyPy || !isPy3k; # tests fail on python2, 2018-04-11
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "libdynd";
|
||||||
|
repo = "dynd-python";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "19igd6ibf9araqhq9bxmzbzdz05vp089zxvddkiik3b5gb7l17nh";
|
||||||
|
};
|
||||||
|
|
||||||
|
# setup.py invokes git on build but we're fetching a tarball, so
|
||||||
|
# can't retrieve git version. We hardcode:
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace setup.py --replace "ver = check_output(['git', 'describe', '--dirty'," "ver = '${version}'"
|
||||||
|
substituteInPlace setup.py --replace "'--always', '--match', 'v*']).decode('ascii').strip('\n')" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Python 3 works but has a broken import test that I couldn't
|
||||||
|
# figure out.
|
||||||
|
doCheck = !isPy3k;
|
||||||
|
buildInputs = [ pkgs.cmake pkgs.libdynd.dev cython ];
|
||||||
|
propagatedBuildInputs = [ numpy pkgs.libdynd ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://libdynd.org;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
description = "Python exposure of dynd";
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
26
pkgs/development/python-modules/ecdsa/default.nix
Normal file
26
pkgs/development/python-modules/ecdsa/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pkgs
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ecdsa";
|
||||||
|
version = "0.13";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Only needed for tests
|
||||||
|
buildInputs = [ pkgs.openssl ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "ECDSA cryptographic signature library";
|
||||||
|
homepage = "https://github.com/warner/python-ecdsa";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ aszlig ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
31
pkgs/development/python-modules/editorconfig/default.nix
Normal file
31
pkgs/development/python-modules/editorconfig/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "EditorConfig";
|
||||||
|
version = "0.12.1";
|
||||||
|
|
||||||
|
# fetchgit used to ensure test submodule is available
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/editorconfig/editorconfig-core-py";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "0svk7id7ncygj2rnxhm7602xizljyidk4xgrl6i0xgq3829cz4bl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake ];
|
||||||
|
checkPhase = ''
|
||||||
|
cmake .
|
||||||
|
# utf_8_char fails with python3
|
||||||
|
ctest -E "utf_8_char" .
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://editorconfig.org;
|
||||||
|
description = "EditorConfig File Locator and Interpreter for Python";
|
||||||
|
license = licenses.psfl;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
32
pkgs/development/python-modules/elpy/default.nix
Normal file
32
pkgs/development/python-modules/elpy/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, rope
|
||||||
|
, flake8
|
||||||
|
, autopep8
|
||||||
|
, jedi
|
||||||
|
, importmagic
|
||||||
|
, isPy27
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "elpy";
|
||||||
|
version = "1.9.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "419f7b05b19182bc1aedde1ae80812c1534e59a0493476aa01ea819e76ba26f0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ flake8 autopep8 jedi importmagic ]
|
||||||
|
++ stdenv.lib.optionals isPy27 [ rope ];
|
||||||
|
|
||||||
|
doCheck = false; # there are no tests
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Backend for the elpy Emacs mode";
|
||||||
|
homepage = "https://github.com/jorgenschaefer/elpy";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -6,7 +6,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0gmdcdvh21v33ldg8kbxi7lph7znl2zdz1ic45100z4hx65w1sd9";
|
sha256 = "a9e9c08be9907c0042212c86dfbea0f61f78e9897d4df41a1d6307017763ad3e";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
checkInputs = [ nose ];
|
||||||
|
26
pkgs/development/python-modules/enum/default.nix
Normal file
26
pkgs/development/python-modules/enum/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "enum";
|
||||||
|
version = "0.4.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/enum/;
|
||||||
|
description = "Robust enumerated type support in Python";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
27
pkgs/development/python-modules/enum34/default.nix
Normal file
27
pkgs/development/python-modules/enum34/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonAtLeast
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
if pythonAtLeast "3.4" then null else buildPythonPackage rec {
|
||||||
|
pname = "enum34";
|
||||||
|
version = "1.1.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/enum34;
|
||||||
|
description = "Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
25
pkgs/development/python-modules/epc/default.nix
Normal file
25
pkgs/development/python-modules/epc/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, sexpdata
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "epc";
|
||||||
|
version = "0.0.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "30b594bd4a4acbd5bda0d3fa3d25b4e8117f2ff8f24d2d1e3e36c90374f3c55e";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ sexpdata ];
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "EPC (RPC stack for Emacs Lisp) implementation in Python";
|
||||||
|
homepage = "https://github.com/tkf/python-epc";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
40
pkgs/development/python-modules/et_xmlfile/default.nix
Normal file
40
pkgs/development/python-modules/et_xmlfile/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, lxml
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "1.0.1";
|
||||||
|
pname = "et_xmlfile";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256="0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ lxml pytest ];
|
||||||
|
checkPhase = ''
|
||||||
|
py.test $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An implementation of lxml.xmlfile for the standard library";
|
||||||
|
longDescription = ''
|
||||||
|
et_xmlfile is a low memory library for creating large XML files.
|
||||||
|
|
||||||
|
It is based upon the xmlfile module from lxml with the aim of
|
||||||
|
allowing code to be developed that will work with both
|
||||||
|
libraries. It was developed initially for the openpyxl project
|
||||||
|
but is now a standalone module.
|
||||||
|
|
||||||
|
The code was written by Elias Rabel as part of the Python
|
||||||
|
Düsseldorf openpyxl sprint in September 2014.
|
||||||
|
'';
|
||||||
|
homepage = "https://pypi.python.org/pypi/et_xmlfile";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sjourdois ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
34
pkgs/development/python-modules/etcd/default.nix
Normal file
34
pkgs/development/python-modules/etcd/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, simplejson
|
||||||
|
, pytz
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "etcd";
|
||||||
|
version = "2.0.8";
|
||||||
|
|
||||||
|
# PyPI package is incomplete
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/dsoprea/PythonEtcdClient/archive/${version}.tar.gz";
|
||||||
|
sha256 = "0fi6rxa1yxvz7nwrc7dw6fax3041d6bj3iyhywjgbkg7nadi9i8v";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e '13,14d;37d' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ simplejson pytz requests ];
|
||||||
|
|
||||||
|
# No proper tests are available
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python etcd client that just works";
|
||||||
|
homepage = https://github.com/dsoprea/PythonEtcdClient;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Eve";
|
pname = "Eve";
|
||||||
version = "0.8";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9f926c715f88c7a92dc2b950ccc09cccd91f72fe0e93cde806b85d25b947df2f";
|
sha256 = "88105080e8a2567a1a8d50a5cded0d7d95e95f704b310c8107ef2ff7696f5316";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
33
pkgs/development/python-modules/eventlet/default.nix
Normal file
33
pkgs/development/python-modules/eventlet/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, httplib2
|
||||||
|
, pyopenssl
|
||||||
|
, greenlet
|
||||||
|
, enum-compat
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "eventlet";
|
||||||
|
version = "0.20.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "15bq5ybbigxnp5xwkps53zyhlg15lmcnq3ny2dppj0r0bylcs5rf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose httplib2 pyopenssl ];
|
||||||
|
|
||||||
|
doCheck = false; # too much transient errors to bother
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ enum-compat ]
|
||||||
|
++ stdenv.lib.optionals (!isPyPy) [ greenlet ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/eventlet/;
|
||||||
|
description = "A concurrent networking library for Python";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
30
pkgs/development/python-modules/eventlib/default.nix
Normal file
30
pkgs/development/python-modules/eventlib/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchdarcs
|
||||||
|
, greenlet
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-eventlib";
|
||||||
|
version = "0.2.2";
|
||||||
|
# Judging from SyntaxError
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchdarcs {
|
||||||
|
url = "http://devel.ag-projects.com/repositories/${pname}";
|
||||||
|
rev = "release-${version}";
|
||||||
|
sha256 = "1zxhpq8i4jwsk7wmfncqfm211hqikj3hp38cfv509924bi76wak8";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ greenlet ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Eventlib bindings for python";
|
||||||
|
homepage = "http://ag-projects.com/";
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
42
pkgs/development/python-modules/execnet/default.nix
Normal file
42
pkgs/development/python-modules/execnet/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, setuptools_scm
|
||||||
|
, apipkg
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "execnet";
|
||||||
|
version = "1.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1rpk1vyclhg911p3hql0m0nrpq7q7mysxnaaw6vs29cpa6kx8vgn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest setuptools_scm ];
|
||||||
|
propagatedBuildInputs = [ apipkg ];
|
||||||
|
|
||||||
|
# remove vbox tests
|
||||||
|
postPatch = ''
|
||||||
|
rm -v testing/test_termination.py
|
||||||
|
rm -v testing/test_channel.py
|
||||||
|
rm -v testing/test_xspec.py
|
||||||
|
rm -v testing/test_gateway.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test testing
|
||||||
|
'';
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Rapid multi-Python deployment";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
homepage = "http://codespeak.net/execnet";
|
||||||
|
maintainers = with maintainers; [ nand0p ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
22
pkgs/development/python-modules/exifread/default.nix
Normal file
22
pkgs/development/python-modules/exifread/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ExifRead";
|
||||||
|
version = "2.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b90jf6m9vxh9nanhpyvqdq7hmfx5iggw1l8kq10jrs6xgr49qkr";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Easy to use Python module to extract Exif metadata from tiff and jpeg files";
|
||||||
|
homepage = "https://github.com/ianare/exif-py";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ vozz ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
42
pkgs/development/python-modules/eyed3/default.nix
Normal file
42
pkgs/development/python-modules/eyed3/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, paver
|
||||||
|
, python
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.7.8";
|
||||||
|
pname = "eyeD3";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://eyed3.nicfit.net/releases/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "1nv7nhfn1d0qm7rgkzksbccgqisng8klf97np0nwaqwd5dbmdf86";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ paver ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for prog in "$out/bin/"*; do
|
||||||
|
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \
|
||||||
|
--prefix PATH : ${python}/bin
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python module and command line program for processing ID3 tags";
|
||||||
|
homepage = http://eyed3.nicfit.net/;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
longDescription = ''
|
||||||
|
eyeD3 is a Python module and command line program for processing ID3
|
||||||
|
tags. Information about mp3 files (i.e bit rate, sample frequency, play
|
||||||
|
time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1
|
||||||
|
and v2.3/v2.4.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
24
pkgs/development/python-modules/factory_boy/default.nix
Normal file
24
pkgs/development/python-modules/factory_boy/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, fake_factory
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "factory_boy";
|
||||||
|
version = "2.6.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0a21f8kq917fj8xgmyp6gy8vcrlzzgwn80qas0d76h3vjbdy0bdq";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ fake_factory ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python package to create factories for complex objects";
|
||||||
|
homepage = https://github.com/rbarrois/factory_boy;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
33
pkgs/development/python-modules/fake_factory/default.nix
Normal file
33
pkgs/development/python-modules/fake_factory/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, python
|
||||||
|
, six
|
||||||
|
, dateutil
|
||||||
|
, ipaddress
|
||||||
|
, mock
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "fake-factory";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "09sgk0kylsshs64a1xsz3qr187sbnqrbf4z8k3dgsy32lsgyffv2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six dateutil ipaddress mock ];
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest faker.tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python package that generates fake data for you";
|
||||||
|
homepage = https://pypi.python.org/pypi/fake-factory;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
37
pkgs/development/python-modules/falcon/default.nix
Normal file
37
pkgs/development/python-modules/falcon/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, coverage
|
||||||
|
, ddt
|
||||||
|
, nose
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, testtools
|
||||||
|
, six
|
||||||
|
, python_mimeparse
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "falcon";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "ddce23a2dd0abba6d19775e9bf7ba64e184b15a0e7163e65f62af63354193f63";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [coverage ddt nose pyyaml requests testtools];
|
||||||
|
propagatedBuildInputs = [ six python_mimeparse ];
|
||||||
|
|
||||||
|
# The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
|
||||||
|
# OSError: [Errno 98] Address already in use
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An unladen web framework for building APIs and app backends";
|
||||||
|
homepage = http://falconframework.org;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitLab
|
||||||
|
, libcloud
|
||||||
|
, pyyaml
|
||||||
|
, paramiko
|
||||||
|
, pyasn1
|
||||||
|
, pyasn1-modules
|
||||||
|
, pillow
|
||||||
|
, mwclient
|
||||||
|
, GitPython
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "2016-05-31";
|
||||||
|
pname = "fdroidserver-git";
|
||||||
|
disabled = ! isPy3k;
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "fdroid";
|
||||||
|
repo = "fdroidserver";
|
||||||
|
rev = "401649e0365e6e365fc48ae8a3af94768af865f3";
|
||||||
|
sha256 = "1mmi2ffpym1qw694yj938kc7b4xhq0blri7wkjaqddcyykjyr94d";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ libcloud pyyaml paramiko pyasn1 pyasn1-modules pillow mwclient GitPython ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://f-droid.org;
|
||||||
|
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||||
|
license = licenses.agpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
25
pkgs/development/python-modules/feedparser/default.nix
Normal file
25
pkgs/development/python-modules/feedparser/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "feedparser";
|
||||||
|
version = "5.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
|
||||||
|
};
|
||||||
|
|
||||||
|
# lots of networking failures
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://code.google.com/p/feedparser/;
|
||||||
|
description = "Universal feed parser";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
40
pkgs/development/python-modules/filebrowser_safe/default.nix
Normal file
40
pkgs/development/python-modules/filebrowser_safe/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.5.0";
|
||||||
|
pname = "filebrowser_safe";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "5dcd31dd79684025139b43841f6515af1da5a4bb0de15bc4d88003db1970648e";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ django ];
|
||||||
|
|
||||||
|
# There is no test embedded
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A snapshot of django-filebrowser for the Mezzanine CMS";
|
||||||
|
longDescription = ''
|
||||||
|
filebrowser_safe was created to provide a snapshot of the
|
||||||
|
FileBrowser asset manager for Django, to be referenced as a
|
||||||
|
dependency for the Mezzanine CMS for Django.
|
||||||
|
|
||||||
|
At the time of filebrowser_safe's creation, FileBrowser was
|
||||||
|
incorrectly packaged on PyPI, and had also dropped compatibility
|
||||||
|
with Django 1.1 - filebrowser_safe was therefore created to
|
||||||
|
address these specific issues.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/stephenmcd/filebrowser-safe;
|
||||||
|
downloadPage = https://pypi.python.org/pypi/filebrowser_safe/;
|
||||||
|
license = licenses.free;
|
||||||
|
maintainers = with maintainers; [ prikhi ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
22
pkgs/development/python-modules/filebytes/default.nix
Normal file
22
pkgs/development/python-modules/filebytes/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "filebytes";
|
||||||
|
version = "0.9.12";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "6cd1c4ca823f6541c963a317e55382609789802dedad08209f4d038369e3f0ac";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://scoding.de/filebytes-introduction";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
description = "Scripts to parse ELF, PE, Mach-O and OAT (Android Runtime)";
|
||||||
|
maintainers = with maintainers; [ bennofs ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "filelock";
|
pname = "filelock";
|
||||||
version = "3.0.6";
|
version = "3.0.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "59ccab92fe118da7e5ce5a9fcd95506ade58d9d5f606db4922192524edfac820";
|
sha256 = "97694f181bdf58f213cca0a7cb556dc7bf90e2f8eb9aa3151260adac56701afb";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
28
pkgs/development/python-modules/flaky/default.nix
Normal file
28
pkgs/development/python-modules/flaky/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, mock
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "flaky";
|
||||||
|
version = "3.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1x9ixika7wqjj52x8wnsh1vk7jadkdqpx01plj7mlh8slwyq4s41";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock pytest ];
|
||||||
|
|
||||||
|
# waiting for feedback https://github.com/box/flaky/issues/97
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/box/flaky;
|
||||||
|
description = "Plugin for nose or py.test that automatically reruns flaky tests";
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user