mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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";
|
||||
@ -23,4 +24,4 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" ""
|
||||
'';
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
@ -16,14 +17,14 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
cython
|
||||
];
|
||||
|
||||
|
||||
checkPhase = ''
|
||||
cd cymem/tests
|
||||
${python.interpreter} -m unittest discover -p "*test*"
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cython memory pool for RAII-style memory management";
|
||||
homepage = https://github.com/explosion/cymem;
|
||||
|
@ -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 {
|
||||
@ -36,4 +37,4 @@ buildPythonPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
@ -11,18 +11,19 @@
|
||||
, python
|
||||
, cudaSupport ? false, cudatoolkit
|
||||
, openclSupport ? true, ocl-icd, clblas
|
||||
}:
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "libgpuarray-${version}";
|
||||
pname = "libgpuarray";
|
||||
version = "0.6.9";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Theano";
|
||||
owner = "Theano";
|
||||
repo = "libgpuarray";
|
||||
rev = "v${version}";
|
||||
sha256 = "06z47ls42a37gbv0x7f3l1qvils7q0hvy02s95l530klgibp19s0";
|
||||
};
|
||||
};
|
||||
|
||||
# requires a GPU
|
||||
doCheck = false;
|
||||
@ -43,7 +44,7 @@ buildPythonPackage rec {
|
||||
export NIX_CFLAGS_COMPILE="-L $out/lib -I $out/include $NIX_CFLAGS_COMPILE"
|
||||
|
||||
cd ..
|
||||
'';
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
rm $out/lib/libgpuarray-static.a
|
||||
@ -64,11 +65,11 @@ buildPythonPackage rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [
|
||||
cmake
|
||||
cython
|
||||
buildInputs = [
|
||||
cmake
|
||||
cython
|
||||
nose
|
||||
];
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Theano/libgpuarray";
|
||||
|
@ -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,25 +6,26 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "murmurhash-${version}";
|
||||
pname = "murmurhash";
|
||||
version = "0.26.4";
|
||||
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
repo = "murmurhash";
|
||||
rev = "0.26.4";
|
||||
sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv";
|
||||
sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
|
||||
checkPhase = ''
|
||||
cd murmurhash/tests
|
||||
${python.interpreter} -m unittest discover -p "*test*"
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cython bindings for MurmurHash2";
|
||||
homepage = https://github.com/explosion/murmurhash;
|
||||
|
@ -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;
|
||||
@ -31,4 +31,4 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
py.test test_path.py
|
||||
'';
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -1,10 +1,11 @@
|
||||
{ mkDerivation
|
||||
{ mkDerivation
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
name = "compyte-${version}";
|
||||
version = "git-20150817";
|
||||
pname = "compyte";
|
||||
version = "git-20150817";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
@ -13,7 +14,7 @@ mkDerivation rec {
|
||||
sha256 = "1980h017qi52b7fqwm75m481xs2napgdd3fbrzkfc29k085cbign";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r * $out
|
||||
'';
|
||||
|
@ -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;
|
||||
@ -35,4 +35,4 @@ buildPythonPackage rec {
|
||||
|
||||
# https://github.com/bastibe/PySoundFile/issues/157
|
||||
disabled = isPyPy || stdenv.isi686;
|
||||
}
|
||||
}
|
||||
|
@ -6,10 +6,9 @@
|
||||
, six
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-expect";
|
||||
version = "1.1.0";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@ -28,4 +27,4 @@ in buildPythonPackage rec {
|
||||
homepage = https://github.com/gsnedders/pytest-expect;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
@ -47,4 +50,4 @@ buildPythonPackage rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jraygauthier ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
|
@ -4,7 +4,7 @@
|
||||
, python
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, pytest
|
||||
, cython
|
||||
, cymem
|
||||
, preshed
|
||||
@ -28,20 +28,21 @@ let
|
||||
version = "2017.04.05";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit pname version;
|
||||
sha256 = "0c95gf3jzz8mv52lkgq0h7sbasjwvdhghm4s0phmy5k9sr78f4fq";
|
||||
};
|
||||
};
|
||||
in buildPythonPackage rec {
|
||||
name = "spacy-${version}";
|
||||
pname = "spacy";
|
||||
version = "1.8.2";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
repo = "spaCy";
|
||||
rev = "v${version}";
|
||||
sha256 = "0v3bmmar31a6968y4wl0lmgnc3829l2mnwd8s959m4pqw1y1w648";
|
||||
};
|
||||
sha256 = "0v3bmmar31a6968y4wl0lmgnc3829l2mnwd8s959m4pqw1y1w648";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
@ -65,8 +66,8 @@ in buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
# checkPhase = ''
|
||||
# ${python.interpreter} -m pytest spacy/tests --vectors --models --slow
|
||||
# '';
|
||||
|
||||
# '';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython";
|
||||
homepage = https://github.com/explosion/spaCy;
|
||||
|
@ -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 // {
|
||||
|
@ -30,21 +30,22 @@ let
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit pname version;
|
||||
sha256 = "17zajiw4mjbkkv6ahp3xf025qglkj0805m9s41c45zryzj6p2h39";
|
||||
};
|
||||
|
||||
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";
|
||||
repo = "thinc";
|
||||
rev = "v${version}";
|
||||
sha256 = "008kmjsvanh6qgnpvsn3qacfcyprxirxbw4yfd8flyg7mxw793ws";
|
||||
sha256 = "008kmjsvanh6qgnpvsn3qacfcyprxirxbw4yfd8flyg7mxw793ws";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -67,14 +68,14 @@ in buildPythonPackage rec {
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
# fails to import some modules
|
||||
# checkPhase = ''
|
||||
# ${python.interpreter} -m pytest thinc/tests
|
||||
# # cd thinc/tests
|
||||
# # ${python.interpreter} -m unittest discover -p "*test*"
|
||||
# '';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Practical Machine Learning for NLP in Python";
|
||||
homepage = https://github.com/explosion/thinc;
|
||||
|
@ -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 {
|
||||
@ -26,4 +25,4 @@ in buildPythonPackage rec {
|
||||
homepage = https://github.com/SimonSapin/python-webencodings;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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