mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
Python: add pname attributes to libraries
so that we can use the update script.
This commit is contained in:
parent
dce1c26e5d
commit
959842a9c7
@ -2,8 +2,9 @@
|
||||
asgiref, msgpack, posix_ipc
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "asgi_ipc-${version}";
|
||||
version = "1.3.1";
|
||||
pname = "asgi_ipc";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz";
|
||||
|
@ -2,8 +2,9 @@
|
||||
asgiref, asgi_ipc, msgpack, six, redis, cryptography
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "asgi_redis-${version}";
|
||||
version = "1.3.0";
|
||||
pname = "asgi_redis";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, six }:
|
||||
buildPythonPackage rec {
|
||||
name = "asgiref-${version}";
|
||||
version = "1.1.1";
|
||||
pname = "asgiref";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl,
|
||||
m2r, setuptools_scm, six, attrs }:
|
||||
buildPythonPackage rec {
|
||||
name = "Automat-${version}";
|
||||
version = "0.5.0";
|
||||
pname = "Automat";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/A/Automat/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{stdenv, buildPythonPackage, fetchFromGitHub, bap, requests}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "bap";
|
||||
pname = "bap";
|
||||
version = "1.1.0";
|
||||
name = "${pname}-${version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "BinaryAnalysisPlatform";
|
||||
repo = "bap-python";
|
||||
|
@ -4,8 +4,9 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "bcrypt-${version}";
|
||||
version = "3.1.2";
|
||||
pname = "bcrypt";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
|
||||
|
@ -7,7 +7,8 @@ let
|
||||
selinuxWithPython = libselinux.override pyenable;
|
||||
cryptsetupWithPython = cryptsetup.override pyenable;
|
||||
in buildPythonPackage rec {
|
||||
name = "blivet-${version}";
|
||||
pname = "blivet";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.67";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, docutils, six, sphinx, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "breathe-${version}";
|
||||
version = "4.2.0";
|
||||
pname = "breathe";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/b/breathe/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
asgiref, django, daphne
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "channels-${version}";
|
||||
pname = "channels";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "constantly-${version}";
|
||||
pname = "constantly";
|
||||
name = "${pname}-${version}";
|
||||
version = "15.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -2,7 +2,8 @@
|
||||
asgiref, autobahn, twisted, hypothesis
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "daphne-${version}";
|
||||
pname = "daphne";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, six }:
|
||||
buildPythonPackage rec {
|
||||
name = "dateutil-${version}";
|
||||
pname = "dateutil";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -2,7 +2,9 @@
|
||||
, ncurses, pygobject3 }:
|
||||
|
||||
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else buildPythonPackage rec {
|
||||
name = "dbus-python-1.2.4";
|
||||
pname = "dbus-python";
|
||||
version = "1.2.4";
|
||||
name = "${pname}-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -2,7 +2,8 @@
|
||||
django, django_nose, six
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "django-compat-${version}";
|
||||
pname = "django-compat";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.0.14";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -3,8 +3,9 @@
|
||||
pyparsing, django, celery
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "django-raster-${version}";
|
||||
version = "0.3.1";
|
||||
pname = "django-raster";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/django-raster/${name}.tar.gz";
|
||||
|
@ -3,7 +3,8 @@
|
||||
geos, gdal
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.10.7";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
|
@ -3,8 +3,10 @@
|
||||
geos, gdal, pytz
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.11.1";
|
||||
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -3,7 +3,8 @@
|
||||
, pytest, pytestrunner, pytest-django, setuptools_scm
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "django-guardian-${version}";
|
||||
pname = "django-guardian";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.4.8";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, django }:
|
||||
buildPythonPackage rec {
|
||||
name = "djangorestframework-${version}";
|
||||
version = "3.5.4";
|
||||
pname = "djangorestframework";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/djangorestframework/${name}.tar.gz";
|
||||
|
@ -3,8 +3,9 @@
|
||||
, ipaddress, backports_ssl_match_hostname, docker_pycreds
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "2.0.2";
|
||||
pname = "docker";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/docker/${name}.tar.gz";
|
||||
|
@ -7,7 +7,8 @@
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
version = "1.10.0";
|
||||
name = "docker-compose-${version}";
|
||||
pname = "docker-compose";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/docker-compose/${name}.tar.gz";
|
||||
|
@ -4,7 +4,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "ds4drv-${version}";
|
||||
pname = "ds4drv";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.5.1";
|
||||
|
||||
# PyPi only carries py3 wheel
|
||||
|
@ -3,8 +3,9 @@
|
||||
, git, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "dulwich-${version}";
|
||||
version = "0.14.1";
|
||||
pname = "dulwich";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.8.1";
|
||||
name = "ezdxf-${version}";
|
||||
pname = "ezdxf";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozman";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, glibcLocales, fetchurl, six, pytz }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "feedgenerator-1.9";
|
||||
pname = "feedgenerator";
|
||||
version = "1.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/feedgenerator/${name}.tar.gz";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "flake8-blind-except-${version}";
|
||||
pname = "flake8-blind-except";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-blind-except/${name}.tar.gz";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage, flake8, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "flake8-debugger-${version}";
|
||||
pname = "flake8-debugger";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.4.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-debugger/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
, flask, elasticsearch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-Elastic-${version}";
|
||||
pname = "Flask-Elastic";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -3,7 +3,9 @@
|
||||
, mock, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "flask-ldap-login-0.3.0";
|
||||
pname = "flask-ldap-login";
|
||||
version = "0.3.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flask-ldap-login/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
, flask, nose, mock, blinker}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-Login-${version}";
|
||||
pname = "Flask-Login";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -2,7 +2,8 @@
|
||||
, flask, oauthlib, requests_oauthlib, flask_sqlalchemy
|
||||
, mock, nose}:
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-OAuthlib-${version}";
|
||||
pname = "Flask-OAuthlib";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, flask, wtforms, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-WTF-0.14.2";
|
||||
pname = "Flask-WTF";
|
||||
version = "0.14.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/F/Flask-WTF/${name}.tar.gz";
|
||||
|
@ -2,7 +2,9 @@
|
||||
, zope_testrunner, six, chardet}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "ghdiff-0.4";
|
||||
pname = "ghdiff";
|
||||
version = "0.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/ghdiff/${name}.tar.gz";
|
||||
|
@ -2,7 +2,9 @@
|
||||
, pytest, mock, pytestcov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "gunicorn-19.3.0";
|
||||
pname = "gunicorn";
|
||||
version = "19.3.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gunicorn/${name}.tar.gz";
|
||||
|
@ -11,8 +11,9 @@ let
|
||||
mpiSupport = hdf5.mpiSupport;
|
||||
|
||||
in buildPythonPackage rec {
|
||||
name = "h5py-${version}";
|
||||
version = "2.6.0";
|
||||
pname = "h5py";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/h5py/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv , fetchurl , buildPythonPackage , sphinx }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hieroglyph";
|
||||
version = "0.7.1";
|
||||
name = "hieroglyph-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hieroglyph/${name}.tar.gz";
|
||||
|
@ -9,8 +9,9 @@ buildPythonPackage rec {
|
||||
# pytz fake_factory django numpy pytest
|
||||
# If you need these, you can just add them to your environment.
|
||||
|
||||
name = "hypothesis-${version}";
|
||||
version = "3.7.0";
|
||||
pname = "hypothesis";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Upstream prefers github tarballs
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchurl, xmpppy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "jabberbot-0.16";
|
||||
pname = "jabberbot";
|
||||
version = "0.16";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
disabled = isPy3k;
|
||||
src = fetchurl {
|
||||
|
@ -1,21 +1,23 @@
|
||||
{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "jsbeautifier-1.6.14";
|
||||
pname = "jsbeautifier";
|
||||
version = "1.6.14";
|
||||
name = "jsbeautifier-1.6.14";
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
buildInputs = [ EditorConfig pytest ];
|
||||
buildInputs = [ EditorConfig pytest ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
|
||||
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
|
||||
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://jsbeautifier.org";
|
||||
description = "JavaScript unobfuscator and beautifier.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ apeyroux ];
|
||||
};
|
||||
}
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://jsbeautifier.org";
|
||||
description = "JavaScript unobfuscator and beautifier.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ apeyroux ];
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, pycurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "koji-1.8";
|
||||
pname = "koji";
|
||||
version = "1.8";
|
||||
name = "${pname}-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -2,7 +2,9 @@
|
||||
, openldap, cyrus_sasl, openssl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "ldap-2.4.22";
|
||||
pname = "python-ldap";
|
||||
version = "2.4.22";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -2,7 +2,8 @@
|
||||
six, pytest, pytestrunner, pytestcov, coverage
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "libais-${version}";
|
||||
pname = "libais";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.16";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -5,7 +5,8 @@ then throw "libArcus not supported for interpreter ${python.executable}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libarcus-${version}";
|
||||
pname = "libarcus";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -2,7 +2,8 @@
|
||||
, libasyncns, pkgconfig }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "libasyncns-python-${version}";
|
||||
pname = "libasyncns-python";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, gtk2, glib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "libsexy-${version}";
|
||||
pname = "libsexy";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.1.9";
|
||||
format = "other";
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl,
|
||||
mistune, docutils } :
|
||||
buildPythonPackage rec {
|
||||
name = "m2r-${version}";
|
||||
pname = "m2r";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "markdown2-${version}";
|
||||
pname = "markdown2";
|
||||
version = "2.3.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/m/markdown2/${name}.zip";
|
||||
|
@ -20,8 +20,9 @@ assert enableTk -> (tcl != null)
|
||||
assert enableQt -> pyqt4 != null;
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "matplotlib-${version}";
|
||||
version = "2.0.0";
|
||||
pname = "matplotlib";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/m/matplotlib/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, python, buildPythonPackage, mpi, openssh, isPy3k, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "mpi4py-1.3.1";
|
||||
pname = "mpi4py";
|
||||
version = "1.3.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/mpi4py/mpi4py/downloads/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
, numpy, zlib, netcdf, hdf5, curl, libjpeg
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "netCDF4-${version}";
|
||||
pname = "netCDF4";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2.7";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ fetchurl, buildPythonPackage, isPy33, lib, six, pythonAtLeast, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "nltk-${version}";
|
||||
version = "3.2.2";
|
||||
pname = "nltk";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/n/nltk/nltk-${version}.tar.gz";
|
||||
|
@ -15,7 +15,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.31.0";
|
||||
name = "numba-${version}";
|
||||
pname = "numba";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/n/numba/${name}.tar.gz";
|
||||
|
@ -3,8 +3,9 @@
|
||||
coverage, oslosphinx, oslotest, testscenarios, six, ddt
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "os-testr-${version}";
|
||||
version = "0.8.1";
|
||||
pname = "os-testr";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/o/os-testr/${name}.tar.gz";
|
||||
|
@ -5,7 +5,8 @@
|
||||
, blinker, pillow, beautifulsoup4, markupsafe }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pelican-${version}";
|
||||
pname = "pelican";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.7.1";
|
||||
disabled = isPy26;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest, mock }:
|
||||
buildPythonPackage rec {
|
||||
name = "pep257-${version}";
|
||||
pname = "pep257";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "phonenumbers-8.4.0";
|
||||
pname = "phonenumbers";
|
||||
version = "8.4.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
meta = {
|
||||
description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, fetchurl, pkgconfig, at_spi2_core, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyatspi";
|
||||
version = "2.18.0";
|
||||
name = "pyatspi-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pyatspi/2.18/${name}.tar.xz";
|
||||
|
@ -9,8 +9,9 @@ if (isPyPy) then throw "pycairo not supported for interpreter ${python.executabl
|
||||
patch_waf-py3_5 = ./waf-py3_5.patch;
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "pycairo";
|
||||
version = "1.10.0";
|
||||
name = "pycairo-${version}";
|
||||
name = "${pname}-${version}";
|
||||
format = "other";
|
||||
|
||||
src = if isPy3k
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.4.3";
|
||||
name = "pycryptodome-${version}";
|
||||
pname = "pycryptodome";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pycryptodome/${name}.tar.gz";
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchurl, python, exiv2, scons, boost }:
|
||||
|
||||
let version = "0.3.2"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pyexiv2-${version}";
|
||||
pname = "pyexiv2";
|
||||
version = "0.3.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://launchpad.net/pyexiv2/0.3.x/0.3.2/+download/${name}.tar.bz2";
|
||||
|
@ -3,7 +3,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pygame-${version}";
|
||||
pname = "pygame";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ buildPythonPackage, fetchurl, stdenv, libmemcached, zlib }:
|
||||
buildPythonPackage rec {
|
||||
name = "pylibmc-${version}";
|
||||
version = "1.5.1";
|
||||
pname = "pylibmc";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/p/pylibmc/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib, buildPythonPackage, fetchurl, requests, novaclient, keyring,
|
||||
rackspace-novaclient, six, isPy3k, pytest, glibcLocales }:
|
||||
buildPythonPackage rec {
|
||||
name = "pyrax-1.9.8";
|
||||
pname = "pyrax";
|
||||
version = "1.9.8";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pyrax/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{stdenv, buildPythonPackage, fetchurl}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyroute2-0.4.13";
|
||||
pname = "pyroute2";
|
||||
version = "0.4.13";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pyroute2/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, swig, pcsclite }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyscard-${version}";
|
||||
version = "1.9.4";
|
||||
pname = "pyscard";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pyscard/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
|
||||
buildPythonPackage rec {
|
||||
name = "pyside-${version}";
|
||||
pname = "pyside";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2.4";
|
||||
format = "other";
|
||||
|
||||
|
@ -6,7 +6,8 @@
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "pysrt-${version}";
|
||||
pname = "pysrt";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -3,7 +3,8 @@
|
||||
, fetchpatch
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-django-${version}";
|
||||
pname = "pytest-django";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -10,7 +10,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-httpbin-${version}";
|
||||
pname = "pytest-httpbin";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,19 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest, pep257 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-pep257-${version}";
|
||||
version = "0.0.5";
|
||||
pname = "pytest-pep257";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pytest-pep257/${name}.tar.gz";
|
||||
sha256 = "082v3d5k4331x53za51kl8zxsndsw1pcyf1xdfpb2gjdjrhixb8w";
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pytest-pep257/${name}.tar.gz";
|
||||
sha256 = "082v3d5k4331x53za51kl8zxsndsw1pcyf1xdfpb2gjdjrhixb8w";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ pep257 ];
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ pep257 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/anderslime/pytest-pep257;
|
||||
description = "py.test plugin for PEP257";
|
||||
license = licenses.mit;
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/anderslime/pytest-pep257;
|
||||
description = "py.test plugin for PEP257";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py }:
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-${version}";
|
||||
version = "3.0.7";
|
||||
pname = "pytest";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
preCheck = ''
|
||||
# don't test bash builtins
|
||||
|
@ -3,7 +3,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-jose-${version}";
|
||||
pname = "python-jose";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.3.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpdavis";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-sql-${version}";
|
||||
pname = "python-sql";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.8";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/python-sql/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-stdnum-${version}";
|
||||
version = "1.5";
|
||||
pname = "python-stdnum";
|
||||
name = "${pname}-${version}";
|
||||
# Failing tests and dependency issue on Py3k
|
||||
disabled = isPy3k;
|
||||
src = fetchurl {
|
||||
|
@ -3,7 +3,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyudev-${version}";
|
||||
pname = "pyudev";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyWebDAV-${version}";
|
||||
pname = "pywebdav";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.9.8";
|
||||
disabled = isPy3k;
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,9 @@
|
||||
{lib, fetchurl, python, buildPythonPackage, makeWrapper}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyXML-0.8.4";
|
||||
pname = "PyXML";
|
||||
version = "0.8.4";
|
||||
name = "${pname}-${pname}";
|
||||
format = "other";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pyxml/${name}.tar.gz";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, nose, unrar, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "rarfile-${version}";
|
||||
pname = "rarfile";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage, genshi, lxml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "relatorio-${version}";
|
||||
pname = "relatorio";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.6.4";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/relatorio/${name}.tar.gz";
|
||||
|
@ -3,7 +3,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.0";
|
||||
name = "requests-oauthlib-${version}";
|
||||
pname = "requests-oauthlib";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://github.com/requests/requests-oauthlib/archive/v${version}.tar.gz";
|
||||
|
@ -1,16 +1,18 @@
|
||||
{stdenv, fetchurl, rpmextract, python, wirelesstools, gettext}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "rhpl-0.218";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rhpl";
|
||||
version = "0.218";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/releases/10/Everything/source/SRPMS//rhpl-0.218-1.src.rpm;
|
||||
sha256 = "0c3sc74cjzz5dmpr2gi5naxcc5p2qmzagz7k561xj07njn0ddg16";
|
||||
};
|
||||
|
||||
|
||||
inherit python;
|
||||
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
|
||||
buildInputs = [ rpmextract python wirelesstools gettext ];
|
||||
}
|
||||
|
@ -2,8 +2,9 @@
|
||||
testfixtures, pillow, six, twisted, w3lib, lxml, queuelib, pyopenssl,
|
||||
service-identity, parsel, pydispatcher, cssselect, lib }:
|
||||
buildPythonPackage rec {
|
||||
name = "Scrapy-${version}";
|
||||
version = "1.3.1";
|
||||
pname = "Scrapy";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
buildInputs = [ glibcLocales mock pytest botocore testfixtures pillow ];
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "simpleeval-${version}";
|
||||
pname = "simpleeval";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.9.5";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/simpleeval/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, python, isPyPy }:
|
||||
|
||||
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else buildPythonPackage rec {
|
||||
name = "sip-4.19.1";
|
||||
pname = "sip";
|
||||
version = "4.19.1";
|
||||
name = "${pname}-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, tornado }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "snakeviz-${version}";
|
||||
pname = "snakeviz";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -3,7 +3,8 @@
|
||||
pbr, tempita, decorator, sqlalchemy, six, sqlparse
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "sqlalchemy-migrate-${version}";
|
||||
pname = "sqlalchemy-migrate";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{stdenv, fetchurl, buildPythonPackage, antlr, isPy3k}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyStringTemplate-${version}";
|
||||
pname = "PyStringTemplate";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.2b1";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -19,7 +19,8 @@
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "subliminal-${version}";
|
||||
pname = "subliminal";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -3,7 +3,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.3.0";
|
||||
name = "tables-${version}";
|
||||
pname = "tables";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/t/tables/${name}.tar.gz";
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, isPy3k, pythonPackages }:
|
||||
buildPythonPackage rec {
|
||||
name = "twill-0.9.1";
|
||||
pname = "twill";
|
||||
version = "0.9.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
zope_interface, incremental, automat, constantly
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
|
||||
name = "Twisted-${version}";
|
||||
pname = "Twisted";
|
||||
name = "${pname}-${version}";
|
||||
version = "17.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -5,8 +5,9 @@ then throw "Uranium not supported for interpreter ${python.executable}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "uranium-${version}";
|
||||
version = "2.4.0";
|
||||
pname = "uranium";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ultimaker";
|
||||
|
@ -1,32 +1,33 @@
|
||||
{ fetchurl, boost, zlib, clang, ncurses, pythonPackages, lib }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "vowpalwabbit-${version}";
|
||||
version = "8.3.2";
|
||||
pname = "vowpalwabbit";
|
||||
name = "${pname}-${version}";
|
||||
version = "8.3.2";
|
||||
|
||||
src = fetchurl{
|
||||
url = "mirror://pypi/v/vowpalwabbit/${name}.tar.gz";
|
||||
sha256 = "0qm8rlrs2gfgamqnpx4lapxakpzgh0yh3kp1lbd7lhb0r748m3k7";
|
||||
};
|
||||
# vw tries to write some explicit things to home
|
||||
# python installed: The directory '/homeless-shelter/.cache/pip/http'
|
||||
preInstall = ''
|
||||
export HOME=$PWD
|
||||
'';
|
||||
src = fetchurl{
|
||||
url = "mirror://pypi/v/vowpalwabbit/${name}.tar.gz";
|
||||
sha256 = "0qm8rlrs2gfgamqnpx4lapxakpzgh0yh3kp1lbd7lhb0r748m3k7";
|
||||
};
|
||||
# vw tries to write some explicit things to home
|
||||
# python installed: The directory '/homeless-shelter/.cache/pip/http'
|
||||
preInstall = ''
|
||||
export HOME=$PWD
|
||||
'';
|
||||
|
||||
buildInputs = with pythonPackages; [ boost.dev zlib.dev clang ncurses pytest docutils pygments ];
|
||||
propagatedBuildInputs = with pythonPackages; [ numpy scipy scikitlearn ];
|
||||
buildInputs = with pythonPackages; [ boost.dev zlib.dev clang ncurses pytest docutils pygments ];
|
||||
propagatedBuildInputs = with pythonPackages; [ numpy scipy scikitlearn ];
|
||||
|
||||
checkPhase = ''
|
||||
# check-manifest requires a git clone, not a tarball
|
||||
# check-manifest --ignore "Makefile,PACKAGE.rst,*.cc,tox.ini,tests*,examples*,src*"
|
||||
python setup.py check -mrs
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vowpal Wabbit is a fast machine learning library for online learning, and this is the python wrapper for the project.";
|
||||
homepage = https://github.com/JohnLangford/vowpal_wabbit;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
checkPhase = ''
|
||||
# check-manifest requires a git clone, not a tarball
|
||||
# check-manifest --ignore "Makefile,PACKAGE.rst,*.cc,tox.ini,tests*,examples*,src*"
|
||||
python setup.py check -mrs
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vowpal Wabbit is a fast machine learning library for online learning, and this is the python wrapper for the project.";
|
||||
homepage = https://github.com/JohnLangford/vowpal_wabbit;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, isPy3k }:
|
||||
buildPythonPackage rec {
|
||||
name = "xmpp.py-${version}";
|
||||
pname = "xmpp.py";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.5.0rc1";
|
||||
|
||||
patches = [ ./ssl.patch ];
|
||||
|
@ -3,7 +3,8 @@
|
||||
with lib;
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "yolk-${version}";
|
||||
pname = "yolk";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user