pythonPackages: Add version and pname attributes to packages
This commit is contained in:
parent
4ae5f31403
commit
d99378654f
@ -9,7 +9,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "paperwork-backend-${version}";
|
||||
pname = "paperwork-backend";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -4,6 +4,7 @@ let version = "0.9.4"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jsonnet-${version}";
|
||||
version = version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
|
@ -125,7 +125,7 @@ in
|
||||
stdenv.mkDerivation {
|
||||
name = "boost-${version}";
|
||||
|
||||
inherit src patches;
|
||||
inherit src patches version;
|
||||
|
||||
meta = {
|
||||
homepage = http://boost.org/;
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kmsxx-2017-10-10";
|
||||
pname = "kmsxx";
|
||||
version = "2017-10-10";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomba";
|
||||
|
@ -10,7 +10,9 @@ assert pythonSupport -> libxml2.pythonSupport;
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libxslt-1.1.29";
|
||||
pname = "libxslt";
|
||||
version = "1.1.29";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://xmlsoft.org/sources/${name}.tar.gz";
|
||||
|
@ -5,8 +5,9 @@
|
||||
... }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "arelle-${version}${lib.optionalString (!gui) "-headless"}";
|
||||
pname = "arelle-${version}${lib.optionalString (!gui) "-headless"}";
|
||||
version = "2017-08-24";
|
||||
name = pname + "-" + version;
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "asn1ate";
|
||||
date = "20160810";
|
||||
name = "${pname}-unstable-${date}";
|
||||
version = "unstable-${date}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "04pddr1mh2v9qq8fg60czwvjny5qwh4nyxszr3qc4bipiiv2xk9w";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, augeas, cffi }:
|
||||
buildPythonPackage rec {
|
||||
name = "augeas-${version}";
|
||||
pname = "augeas";
|
||||
version = "1.0.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hercules-team";
|
||||
|
@ -3,8 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "blockdiag-${version}";
|
||||
pname = "blockdiag";
|
||||
version = "1.5.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/blockdiag/blockdiag/get/${version}.tar.bz2";
|
||||
|
@ -8,8 +8,9 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Bottleneck";
|
||||
name = "Bottleneck-${version}";
|
||||
version = "1.2.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36";
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6";
|
||||
name = "cgroup-utils-${version}";
|
||||
pname = "cgroup-utils";
|
||||
name = pname + "-" + version;
|
||||
|
||||
buildInputs = [ pep8 nose ];
|
||||
# Pep8 tests fail...
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, six, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "construct-${version}";
|
||||
pname = "construct";
|
||||
version = "2.8.16";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "construct";
|
||||
|
@ -5,8 +5,9 @@
|
||||
, python
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "cymem-${version}";
|
||||
pname = "cymem";
|
||||
version = "1.31.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
|
@ -2,8 +2,9 @@
|
||||
django, django_compat, django_nose
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "django-hijack-${version}";
|
||||
pname = "django-hijack";
|
||||
version = "2.1.4";
|
||||
name = pname + "-" + version;
|
||||
|
||||
# the pypi packages don't include everything required for the tests
|
||||
src = fetchFromGitHub {
|
||||
|
@ -2,10 +2,11 @@
|
||||
, pytest, dns }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "${pname}-${majorversion}.${minorversion}";
|
||||
name = "${pname}-${version}";
|
||||
pname = "dkimpy";
|
||||
majorversion = "0.6";
|
||||
minorversion = "2";
|
||||
version = "${majorversion}.${minorversion}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/${pname}/${majorversion}/${majorversion}.${minorversion}/+download/${name}.tar.gz";
|
||||
|
@ -1,10 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
let
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "first";
|
||||
version = "2.0.1";
|
||||
in
|
||||
buildPythonPackage {
|
||||
name = "${pname}-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -3,8 +3,9 @@
|
||||
, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "geopandas-${version}";
|
||||
pname = "geopandas";
|
||||
version = "0.3.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geopandas";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, isPyPy, python, libev, greenlet }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "gevent-1.2.2";
|
||||
pname = "gevent";
|
||||
version = "1.2.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gevent/${name}.tar.gz";
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.2";
|
||||
name = "gflags-${version}";
|
||||
pname = "gflags";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "hmmlearn-${version}";
|
||||
pname = "hmmlearn";
|
||||
version = "0.2.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "hyperlink-${version}";
|
||||
pname = "hyperlink";
|
||||
version = "17.3.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
|
||||
|
@ -9,8 +9,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "keystoneclient-${version}";
|
||||
pname = "keystoneclient";
|
||||
version = "1.8.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstack";
|
||||
|
@ -1,9 +1,8 @@
|
||||
{ lib, buildPythonPackage, fetchurl, pkgs, pytestrunner }:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "keyutils";
|
||||
version = "0.5";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -14,8 +14,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "libgpuarray-${version}";
|
||||
pname = "libgpuarray";
|
||||
version = "0.6.9";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Theano";
|
||||
|
@ -3,7 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "llfuse-1.0";
|
||||
pname = "llfuse";
|
||||
version = "1.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
|
||||
|
@ -6,8 +6,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "murmurhash-${version}";
|
||||
pname = "murmurhash";
|
||||
version = "0.26.4";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
|
@ -4,7 +4,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "nilearn";
|
||||
version = "0.3.1";
|
||||
name = "nilearn-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -3,7 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "nwdiag-1.0.3";
|
||||
pname = "nwdiag";
|
||||
version = "1.0.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/n/nwdiag/${name}.tar.gz";
|
||||
|
@ -10,7 +10,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "path.py";
|
||||
version = "10.4";
|
||||
name = "path.py-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -4,7 +4,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pip-tools";
|
||||
version = "1.10.1";
|
||||
name = "pip-tools-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
|
||||
|
@ -12,10 +12,12 @@
|
||||
# the executables of git, mercurial and bazaar.
|
||||
|
||||
buildPythonPackage rec {
|
||||
rev = "2.6";
|
||||
name = "powerline-${rev}";
|
||||
version = "2.6";
|
||||
pname = "powerline";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/powerline/powerline/archive/${rev}.tar.gz";
|
||||
url = "https://github.com/powerline/powerline/archive/${version}.tar.gz";
|
||||
name = "${name}.tar.gz";
|
||||
sha256 = "c108f11fe10dc910febb94b87d3abded85d4363fb950366a9e30282b9ba7c272";
|
||||
};
|
||||
|
@ -5,7 +5,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit (protobuf) name src;
|
||||
inherit (protobuf) name src version;
|
||||
inherit disabled doCheck;
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
|
@ -7,7 +7,7 @@
|
||||
buildPythonPackage rec {
|
||||
version = "3.10.0";
|
||||
pname = "pwntools";
|
||||
name = "pwntools-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -3,8 +3,9 @@
|
||||
, buildPythonPackage, python-jose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyGithub-${version}";
|
||||
pname = "PyGithub";
|
||||
version = "1.32";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyGithub";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyChromecast-${version}";
|
||||
pname = "PyChromecast";
|
||||
version = "0.8.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
||||
|
@ -3,10 +3,9 @@
|
||||
# This is a dummy package providing the drop-in replacement pycryptodome.
|
||||
# https://github.com/NixOS/nixpkgs/issues/21671
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
version = pycryptodome.version;
|
||||
pname = "pycrypto";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Cannot build wheel otherwise (zip 1980 issue)
|
||||
|
@ -3,8 +3,9 @@
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
name = "compyte-${version}";
|
||||
pname = "compyte";
|
||||
version = "git-20150817";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, libev }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyev-0.9.0";
|
||||
pname = "pyev";
|
||||
version = "0.9.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pyev/${name}.tar.gz";
|
||||
|
@ -2,12 +2,14 @@
|
||||
, boost, freetype, ftgl, mesa }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyftgl-0.4b";
|
||||
pname = "pyftgl";
|
||||
version = "0.4b";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "umlaeute";
|
||||
repo = "pyftgl";
|
||||
rev = "0.4b";
|
||||
repo = name;
|
||||
rev = version;
|
||||
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
|
||||
};
|
||||
|
||||
|
@ -3,8 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pygame-${version}";
|
||||
pname = "pygame";
|
||||
version = "2016-05-17";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "pygame";
|
||||
|
@ -3,8 +3,10 @@
|
||||
buildPythonPackage rec {
|
||||
major = "3.24";
|
||||
minor = "1";
|
||||
name = "pygobject-${major}.${minor}";
|
||||
version = "${major}.${minor}";
|
||||
format = "other";
|
||||
pname = "pygobject";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
|
||||
|
@ -1,9 +1,10 @@
|
||||
{ stdenv, fetchurl, python, buildPythonPackage, pkgconfig, glib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pygobject-${version}";
|
||||
pname = "pygobject";
|
||||
version = "2.28.6";
|
||||
format = "other";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pygobject/2.28/${name}.tar.xz";
|
||||
|
@ -2,7 +2,9 @@
|
||||
, buildPythonPackage, libglade ? null, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pygtk-2.24.0";
|
||||
pname = "pygtk";
|
||||
version = "2.24.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ lib, fetchurl, python, buildPythonPackage, pkgconfig, pygobject2, glib, pygtk, gnome2 }:
|
||||
|
||||
let version = "2.10.1"; in
|
||||
|
||||
buildPythonPackage {
|
||||
name = "pygtksourceview-${version}";
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtksourceview";
|
||||
format = "other";
|
||||
version = "2.10.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-${version}.tar.bz2";
|
||||
|
@ -3,8 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyocr-${version}";
|
||||
pname = "pyocr";
|
||||
version = "0.4.7";
|
||||
name = pname + "-" + version;
|
||||
|
||||
# Don't fetch from PYPI because it doesn't contain tests.
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,10 +1,14 @@
|
||||
{ stdenv, fetchurl, pythonPackages, qt4, pkgconfig, lndir, dbus_libs, makeWrapper }:
|
||||
|
||||
let
|
||||
pname = "PyQt-x11-gpl";
|
||||
version = "4.12";
|
||||
|
||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||
in buildPythonPackage {
|
||||
name = "PyQt-x11-gpl-${version}";
|
||||
pname = pname;
|
||||
name = pname + "-" + version;
|
||||
version = version;
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -5,11 +5,15 @@
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "PyQt";
|
||||
version = "5.9";
|
||||
|
||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||
in buildPythonPackage {
|
||||
name = "PyQt-${version}";
|
||||
pname = pname;
|
||||
version = version;
|
||||
format = "other";
|
||||
name = pname + "-" + version;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for Qt5";
|
||||
|
@ -1,7 +1,10 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Pyro-3.16";
|
||||
pname = "Pyro";
|
||||
version = "3.16";
|
||||
name = pname + "-" + version;
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, cython, slurm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyslurm";
|
||||
pname = "pyslurm";
|
||||
version = "unstable-69e4f4f";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "pyslurm";
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PySoundFile";
|
||||
name = "PySoundFile-${version}";
|
||||
version = "0.8.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -6,10 +6,9 @@
|
||||
, six
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-expect";
|
||||
version = "1.1.0";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ stdenv, pkgs, buildPythonPackage, fetchurl, isPy26, argparse, py, selenium }:
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-2.7.3";
|
||||
pname = "pytest";
|
||||
version = "2.7.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pytest/${name}.tar.gz";
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ stdenv, pkgs, buildPythonPackage, fetchurl, isPy26, argparse, py, selenium }:
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-2.8.7";
|
||||
pname = "pytest";
|
||||
version = "2.8.7";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pytest/${name}.tar.gz";
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ stdenv, pkgs, buildPythonPackage, fetchurl, isPy26, argparse, py, selenium }:
|
||||
buildPythonPackage rec {
|
||||
name = "pytest-2.9.2";
|
||||
pname = "pytest";
|
||||
version = "2.9.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pytest/${name}.tar.gz";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-utils-${version}";
|
||||
pname = "python-utils";
|
||||
version = "2.2.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WoLpH";
|
||||
|
@ -4,7 +4,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "python-fedora";
|
||||
version = "0.9.0";
|
||||
name = "python-fedora-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ buildPythonPackage, fetchurl, isPy3k, requests, novaclient, six, lib }:
|
||||
let
|
||||
os-virtual-interfacesv2-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "os_virtual_interfacesv2_python_novaclient_ext-0.20";
|
||||
pname = "os_virtual_interfacesv2_python_novaclient_ext";
|
||||
version = "0.20";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/o/os-virtual-interfacesv2-python-novaclient-ext/${name}.tar.gz";
|
||||
@ -18,7 +20,9 @@ os-virtual-interfacesv2-python-novaclient-ext = buildPythonPackage rec {
|
||||
};
|
||||
|
||||
ip-associations-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "ip_associations_python_novaclient_ext-0.2";
|
||||
pname = "ip_associations_python_novaclient_ext";
|
||||
version = "0.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/i/ip_associations_python_novaclient_ext/${name}.tar.gz";
|
||||
@ -34,9 +38,10 @@ ip-associations-python-novaclient-ext = buildPythonPackage rec {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
rackspace-auth-openstack = buildPythonPackage rec {
|
||||
name = "rackspace-auth-openstack-1.3";
|
||||
pname = "rackspace-auth-openstack";
|
||||
version = "1.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/rackspace-auth-openstack/${name}.tar.gz";
|
||||
@ -52,7 +57,9 @@ rackspace-auth-openstack = buildPythonPackage rec {
|
||||
};
|
||||
};
|
||||
rax-default-network-flags-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "rax_default_network_flags_python_novaclient_ext-0.4.0";
|
||||
pname = "rax_default_network_flags_python_novaclient_ext";
|
||||
version = "0.4.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/rax_default_network_flags_python_novaclient_ext/${name}.tar.gz";
|
||||
@ -68,7 +75,9 @@ rax-default-network-flags-python-novaclient-ext = buildPythonPackage rec {
|
||||
};
|
||||
};
|
||||
os-networksv2-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "os_networksv2_python_novaclient_ext-0.26";
|
||||
pname = "os_networksv2_python_novaclient_ext";
|
||||
version = "0.26";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/o/os_networksv2_python_novaclient_ext/${name}.tar.gz";
|
||||
@ -85,7 +94,9 @@ os-networksv2-python-novaclient-ext = buildPythonPackage rec {
|
||||
};
|
||||
|
||||
rax-scheduled-images-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "rax_scheduled_images_python_novaclient_ext-0.3.1";
|
||||
pname = "rax_scheduled_images_python_novaclient_ext";
|
||||
version = "0.3.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/rax_scheduled_images_python_novaclient_ext/${name}.tar.gz";
|
||||
@ -102,7 +113,9 @@ rax-scheduled-images-python-novaclient-ext = buildPythonPackage rec {
|
||||
};
|
||||
|
||||
os-diskconfig-python-novaclient-ext = buildPythonPackage rec {
|
||||
name = "os_diskconfig_python_novaclient_ext-0.1.3";
|
||||
pname = "os_diskconfig_python_novaclient_ext";
|
||||
version = "0.1.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/o/os_diskconfig_python_novaclient_ext/${name}.tar.gz";
|
||||
@ -120,7 +133,9 @@ os-diskconfig-python-novaclient-ext = buildPythonPackage rec {
|
||||
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
name = "rackspace-novaclient-2.1";
|
||||
pname = "rackspace-novaclient";
|
||||
version = "2.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/rackspace-novaclient/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib, buildPythonPackage, fetchurl, isPy3k, contextlib2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "raven-6.3.0";
|
||||
pname = "raven";
|
||||
version = "6.3.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/raven/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python-recursive-pth-loader-1.0";
|
||||
pname = "python-recursive-pth-loader";
|
||||
version = "1.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, pyparsing, argparse, robotframework }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "robomachine-0.6";
|
||||
pname = "robomachine";
|
||||
version = "0.6";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz";
|
||||
|
@ -2,8 +2,9 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.3";
|
||||
name = "robotframework-ride-${version}";
|
||||
pname = "robotframework-ride";
|
||||
disabled = isPy3k;
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://robotframework-ride.googlecode.com/files/${name}.tar.gz";
|
||||
|
@ -2,8 +2,9 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.0.2";
|
||||
name = "robotframework-${version}";
|
||||
pname = "robotframework";
|
||||
disabled = isPy3k;
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/robotframework/${name}.tar.gz";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, isPy3k, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "scapy-2.2.0";
|
||||
pname = "scapy";
|
||||
version = "2.2.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
|
@ -8,7 +8,10 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "selenium-3.6.0";
|
||||
pname = "selenium";
|
||||
version = "3.6.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/selenium/${name}.tar.gz";
|
||||
sha256 = "15qpvz0bdwjvpcj11fm0rw6r5inr66sqw89ww50l025sbhf04qwm";
|
||||
|
@ -3,7 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "seqdiag-0.9.4";
|
||||
pname = "seqdiag";
|
||||
version = "0.9.4";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/seqdiag/${name}.tar.gz";
|
||||
|
@ -33,8 +33,9 @@ let
|
||||
};
|
||||
};
|
||||
in buildPythonPackage rec {
|
||||
name = "spacy-${version}";
|
||||
pname = "spacy";
|
||||
version = "1.8.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ lib, fetchurl, buildPythonPackage, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "sphfile-${version}";
|
||||
pname = "sphfile";
|
||||
version = "1.0.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/sphfile/${name}.tar.gz";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spotipy";
|
||||
name = "spotipy-${version}";
|
||||
version = "2.4.4";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -6,8 +6,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-sybase-${version}";
|
||||
pname = "python-sybase";
|
||||
version = "0.40pre2";
|
||||
name = pname + "-" + version;
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkgconfig }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-systemd-${version}";
|
||||
pname = "systemd";
|
||||
version = "234";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "systemd";
|
||||
|
@ -97,6 +97,8 @@ let
|
||||
};
|
||||
|
||||
in buildPythonPackage (common // {
|
||||
pname = "tensorflow";
|
||||
version = common.version;
|
||||
name = "tensorflow-${common.version}";
|
||||
|
||||
deps = stdenv.mkDerivation (common // {
|
||||
|
@ -37,8 +37,9 @@ let
|
||||
doCheck = false; # fails to import support from test
|
||||
};
|
||||
in buildPythonPackage rec {
|
||||
name = "thinc-${version}";
|
||||
pname = "thinc";
|
||||
version = "6.5.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
|
@ -5,10 +5,9 @@
|
||||
, python
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "u-msgpack-python";
|
||||
version = "2.4.1";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,9 +1,10 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "umemcache-${version}";
|
||||
pname = "umemcache";
|
||||
version = "1.6.3";
|
||||
disabled = isPy3k;
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/u/umemcache/${name}.zip";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uritools";
|
||||
name = "uritools-${version}";
|
||||
version = "2.1.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, pyusb }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "usbtmc-${version}";
|
||||
pname = "usbtmc";
|
||||
version = "0.8";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz";
|
||||
|
@ -1,6 +1,10 @@
|
||||
{ buildPythonPackage, django_1_8, waitress }:
|
||||
buildPythonPackage {
|
||||
name = "waitress-django";
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "waitress-django";
|
||||
version = "0.0.0";
|
||||
name = pname;
|
||||
|
||||
src = ./.;
|
||||
pythonPath = [ django_1_8 waitress ];
|
||||
doCheck = false;
|
||||
|
@ -4,10 +4,9 @@
|
||||
, pytest
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "webencodings";
|
||||
version = "0.5.1";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -19,8 +19,9 @@
|
||||
assert wxGTK.unicode;
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "wxPython-${version}";
|
||||
pname = "wxPython";
|
||||
version = "3.0.2.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
disabled = isPy3k || isPyPy;
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user