mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python2Packages: remove superfluous overrides
Since Python 2 is not supported anymore we only keep those overrides which are used by leaf packages.
This commit is contained in:
parent
4beaf5301d
commit
2cae050057
@ -1,20 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "affinity";
|
||||
version = "0.1.0";
|
||||
|
||||
# syntax error
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1i6j7kszvnzh5vh9k48cqwx2kzf73a6abgv9s6bf0j2zmfjl2wb6";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "control processor affinity on windows and linux";
|
||||
homepage = "http://cheeseshop.python.org/pypi/affinity";
|
||||
license = with lib.licenses; [ psfl ];
|
||||
};
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ lib, buildPythonPackage, isPy3k, python
|
||||
, antlr4
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "antlr4-python2-runtime";
|
||||
inherit (antlr4.runtime.cpp) version src;
|
||||
disabled = isPy3k;
|
||||
|
||||
sourceRoot = "source/runtime/Python2";
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/TestTokenStreamRewriter.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Runtime for ANTLR";
|
||||
homepage = "https://www.antlr.org/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, zope_interface, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-application";
|
||||
version = "2.8.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AGProjects";
|
||||
repo = pname;
|
||||
rev = "release-${version}";
|
||||
sha256 = "1xd2gbpmx2ghap9cnr1h6sxjai9419bdp3y9qp5lh67977m0qg30";
|
||||
};
|
||||
|
||||
buildInputs = [ zope_interface ];
|
||||
|
||||
# No tests upstream to run
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Basic building blocks for python applications";
|
||||
homepage = "https://github.com/AGProjects/python-application";
|
||||
changelog = "https://github.com/AGProjects/python-application/blob/master/ChangeLog";
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, simplejson, backports_functools_lru_cache
|
||||
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytest-cov
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "arrow";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ff08d10cda1d36c68657d6ad20d74fbea493d980f8b2d45344e00d6ed2bf6ed4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python-dateutil ]
|
||||
++ lib.optionals isPy27 [ backports_functools_lru_cache ];
|
||||
|
||||
checkInputs = [
|
||||
dateparser
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytz
|
||||
simplejson
|
||||
sphinx
|
||||
];
|
||||
|
||||
# ParserError: Could not parse timezone expression "America/Nuuk"
|
||||
disabledTests = [
|
||||
"test_parse_tz_name_zzz"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for date manipulation";
|
||||
homepage = "https://github.com/crsmithdev/arrow";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, flask
|
||||
, pillow
|
||||
, psycopg2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ase";
|
||||
version = "3.17.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d4gxypaahby45zcpl0rffcn2z7n55dg9lcd8sv6jjsmbbf9vr4g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/ase test
|
||||
'';
|
||||
|
||||
# tests just hang most likely due to something with subprocesses and cli
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Atomic Simulation Environment";
|
||||
homepage = "https://wiki.fysik.dtu.dk/ase/";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, lazy-object-proxy, six, wrapt, enum34, singledispatch, backports_functools_lru_cache
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astroid";
|
||||
version = "1.6.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7";
|
||||
};
|
||||
|
||||
# From astroid/__pkginfo__.py
|
||||
propagatedBuildInputs = [
|
||||
lazy-object-proxy
|
||||
six
|
||||
wrapt
|
||||
enum34
|
||||
singledispatch
|
||||
backports_functools_lru_cache
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
# test_builtin_help is broken
|
||||
pytest -k "not test_builtin_help and not test_namespace_and_file_mismatch and not test_namespace_package_pth_support and not test_nested_namespace_import" astroid
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An abstract syntax tree for Python with inference support";
|
||||
homepage = "https://github.com/PyCQA/astroid";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, xz
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
if !(pythonOlder "3.3") then null else buildPythonPackage rec {
|
||||
pname = "backports.lzma";
|
||||
version = "0.0.14";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16d8b68e4d3cd4e6c9ddb059850452946da3914c8a8e197a7f2b0954559f2df4";
|
||||
};
|
||||
|
||||
buildInputs = [ xz ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test/test_lzma.py
|
||||
'';
|
||||
|
||||
# Relative import does not seem to function.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files";
|
||||
homepage = "https://github.com/peterjc/backports.lzma";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, future
|
||||
, isPy3k
|
||||
, python
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.1";
|
||||
pname = "backports.os";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b472c4933094306ca08ec90b2a8cbb50c34f1fb2767775169a1c1650b7b74630";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
checkInputs = [ hypothesis ];
|
||||
propagatedBuildInputs = [ future ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pjdelport/backports.os";
|
||||
description = "Backport of new features in Python's os module";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, isPyPy, cffi, pytest, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.7";
|
||||
pname = "bcrypt";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern password hashing for your software and your servers";
|
||||
homepage = "https://github.com/pyca/bcrypt/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, requests_oauthlib, nose, sh }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitbucket-api";
|
||||
version = "0.5.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b541d9d7f234074a74214505aff1846eb21e5dd6d3915139e817d4675d34f4e3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests_oauthlib nose sh ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Sheeprider/BitBucket-api";
|
||||
description = "Python library to interact with BitBucket REST API";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, pykickstart, pyparted, pyblock
|
||||
, pyudev, six, libselinux, multipath-tools, lsof, util-linux
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blivet";
|
||||
version = "0.67";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dwlehman";
|
||||
repo = "blivet";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "1gk94ghjrxfqnx53hph1j2s7qcv86fjz48is7l099q9c24rjv8ky";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i \
|
||||
-e 's|"multipath"|"${multipath-tools}/sbin/multipath"|' \
|
||||
-e '/^def set_friendly_names/a \ return False' \
|
||||
blivet/devicelibs/mpath.py
|
||||
sed -i -e '/"wipefs"/ {
|
||||
s|wipefs|${util-linux}/sbin/wipefs|
|
||||
s/-f/--force/
|
||||
}' blivet/formats/__init__.py
|
||||
sed -i -e 's|"lsof"|"${lsof}/bin/lsof"|' blivet/formats/fs.py
|
||||
sed -i -r -e 's|"(u?mount)"|"${util-linux}/bin/\1"|' blivet/util.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pykickstart pyparted pyblock pyudev libselinux
|
||||
six
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fedoraproject.org/wiki/Blivet";
|
||||
description = "Module for management of a system's storage configuration";
|
||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, swig2
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Box2D";
|
||||
version = "2.3.2";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d1557dffdf9c1d6c796ec5df53e3d93227bb026c14b8411d22c295edaa2fb225";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/'Box2D.tests' : 'tests'//" setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ swig2 ];
|
||||
|
||||
# tests not included with pypi release
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pybox2d/pybox2d";
|
||||
description = ''
|
||||
A 2D game physics library for Python under
|
||||
the very liberal zlib license
|
||||
'';
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ sepi ];
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "browsermob-proxy";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bxvmghm834gsfz3pm69772wzhh15p8ci526b25dpk3z4315nd7v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ (requests.override { urllib3 = urllib3.override {
|
||||
pyopenssl = null;
|
||||
cryptography = null;
|
||||
};}) ];
|
||||
|
||||
meta = {
|
||||
description = "A library for interacting with Browsermob Proxy";
|
||||
homepage = "http://oss.theautomatedtester.co.uk/browsermob-proxy-py";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# FIXME: make gdk-pixbuf dependency optional
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, lib
|
||||
, substituteAll
|
||||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, pytest
|
||||
, pytest-runner
|
||||
, glibcLocales
|
||||
, cairo
|
||||
, cffi
|
||||
, withXcffib ? false, xcffib
|
||||
, python
|
||||
, glib
|
||||
, gdk-pixbuf
|
||||
}@args:
|
||||
|
||||
import ./generic.nix ({
|
||||
version = "0.9.0";
|
||||
sha256 = "15386c3a9e08823d6826c4491eaccc7b7254b1dc587a3b9ce60c350c3f990337";
|
||||
dlopen_patch = ./dlopen-paths-0.9.patch;
|
||||
inherit withXcffib;
|
||||
} // args)
|
@ -1,47 +0,0 @@
|
||||
commit 705dc9a55bd160625d9996e63fc7dc532d0ad0ab
|
||||
Author: Alexander V. Nikolaev <avn@avnik.info>
|
||||
Date: Sat Feb 6 08:09:06 2016 +0200
|
||||
|
||||
Patch dlopen() to allow direct paths to all required libs
|
||||
|
||||
This patch is NixOS specific
|
||||
|
||||
diff --git a/cairocffi/__init__.py b/cairocffi/__init__.py
|
||||
index 718aa7f..1a1dcff 100644
|
||||
--- a/cairocffi/__init__.py
|
||||
+++ b/cairocffi/__init__.py
|
||||
@@ -27,20 +27,22 @@ VERSION = '0.7.2'
|
||||
version = '1.10.0'
|
||||
version_info = (1, 10, 0)
|
||||
|
||||
+# Use hardcoded soname, because ctypes.util use gcc/objdump which shouldn't be required for runtime
|
||||
+_LIBS = {
|
||||
+ 'cairo': '@cairo@/lib/libcairo@ext@',
|
||||
+ 'glib-2.0': '@glib@/lib/libglib-2.0@ext@',
|
||||
+ 'gobject-2.0': '@glib@/lib/libgobject-2.0@ext@',
|
||||
+ 'gdk_pixbuf-2.0': '@gdk_pixbuf@/lib/libgdk_pixbuf-2.0@ext@',
|
||||
+}
|
||||
|
||||
-def dlopen(ffi, *names):
|
||||
+def dlopen(ffi, name, *names):
|
||||
"""Try various names for the same library, for different platforms."""
|
||||
- for name in names:
|
||||
- for lib_name in [name, 'lib' + name]:
|
||||
- try:
|
||||
- path = ctypes.util.find_library(lib_name)
|
||||
- if path:
|
||||
- lib = ffi.dlopen(path)
|
||||
- if lib:
|
||||
- return lib
|
||||
- except OSError:
|
||||
- pass
|
||||
- raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
|
||||
+ path = _LIBS.get(name, None)
|
||||
+ if path:
|
||||
+ lib = ffi.dlopen(path)
|
||||
+ if lib:
|
||||
+ return lib
|
||||
+ raise OSError("dlopen() failed to load a library: %s as %s" % (name, path))
|
||||
|
||||
|
||||
cairo = dlopen(ffi, 'cairo', 'cairo-2')
|
@ -1,37 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cairocffi, nose, fontconfig
|
||||
, cssselect2, defusedxml, pillow, tinycss2 }:
|
||||
|
||||
# CairoSVG 2.x dropped support for Python 2 so offer CairoSVG 1.x as an
|
||||
# alternative
|
||||
buildPythonPackage rec {
|
||||
pname = "CairoSVG";
|
||||
version = "1.0.22";
|
||||
|
||||
# PyPI doesn't include tests so use GitHub
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kozea";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "15z0cag5s79ghhrlgs5xc9ayvzzdr3v8151vf6k819f1drsfjfxl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cairocffi ];
|
||||
|
||||
checkInputs = [ nose fontconfig cssselect2 defusedxml pillow tinycss2 ];
|
||||
|
||||
# Almost all tests just fail. Not sure how to fix them.
|
||||
doCheck = false;
|
||||
|
||||
# checkInputs = [ nose fontconfig cssselect2 defusedxml pillow tinycss2 ];
|
||||
|
||||
# checkPhase = ''
|
||||
# FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf nosetests .
|
||||
# '';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://cairosvg.org";
|
||||
license = licenses.lgpl3;
|
||||
description = "SVG converter based on Cairo";
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib, stdenv
|
||||
, buildPythonPackage
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CDDB";
|
||||
version = "1.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://cddb-py.sourceforge.net/${pname}-${version}.tar.gz";
|
||||
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://cddb-py.sourceforge.net/";
|
||||
description = "CDDB and FreeDB audio CD track info access";
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchurl, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cdecimal";
|
||||
version = "2.3";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url="http://www.bytereef.org/software/mpdecimal/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b";
|
||||
};
|
||||
|
||||
# Upstream tests are not included s. a. http://www.bytereef.org/mpdecimal/testing.html
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast drop-in replacement for decimal.py";
|
||||
homepage = "http://www.bytereef.org/mpdecimal/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.udono ];
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools-scm
|
||||
, cheroot, contextlib2, portend, routes, six, zc_lockfile
|
||||
, backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests-toolbelt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cherrypy";
|
||||
version = "17.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "CherryPy";
|
||||
inherit version;
|
||||
sha256 = "ef1619ad161f526745d4f0e4e517753d9d985814f1280e330661333d2ba05cdf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cheroot contextlib2 portend routes six zc_lockfile
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
checkInputs = [
|
||||
backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests-toolbelt
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest ${lib.optionalString stdenv.isDarwin "--ignore=cherrypy/test/test_wsgi_unix_socket.py"}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.cherrypy.org";
|
||||
description = "A pythonic, object-oriented HTTP framework";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, sphinx
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "cliapp";
|
||||
version = "1.20150305";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchgit {
|
||||
url = "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp";
|
||||
rev = "569df8a5959cd8ef46f78c9497461240a5aa1123";
|
||||
sha256 = "882c5daf933e4cf089842995efc721e54361d98f64e0a075e7373b734cd899f3";
|
||||
};
|
||||
|
||||
buildInputs = [ sphinx ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://liw.fi/cliapp/";
|
||||
description = "Python framework for Unix command line programs";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [];
|
||||
};
|
||||
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy3k
|
||||
, gflags
|
||||
}:
|
||||
|
||||
/* There is a project called "closure-linter" on PyPI that is the
|
||||
same as this, but it does not appear to be owned by Google.
|
||||
So we're pulling from Google's GitHub repo instead. */
|
||||
buildPythonPackage {
|
||||
pname = "closure-linter";
|
||||
version = "2.3.19";
|
||||
|
||||
/* This project has no Python 3 support, as noted by
|
||||
https://github.com/google/closure-linter/issues/81 */
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/google/closure-linter";
|
||||
rev = "5c27529075bb88bdc45e73008f496dec8438d658";
|
||||
sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gflags ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Checks JavaScript files against Google's style guide.";
|
||||
homepage = "https://developers.google.com/closure/utilities/";
|
||||
license = with licenses; [ asl20 ];
|
||||
};
|
||||
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, cliapp
|
||||
, ttystatus
|
||||
, markdown
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmdtest";
|
||||
version = "0.32";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://code.liw.fi/debian/pool/main/c/cmdtest/cmdtest_${version}.orig.tar.xz";
|
||||
sha256 = "0scc47h1nkmbm5zlvk9bsnsg64kb9r4xadchdinf4f1mph9qpgn6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cliapp ttystatus markdown ];
|
||||
|
||||
# TODO: cmdtest tests must be run before the buildPhase
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://liw.fi/cmdtest/";
|
||||
description = "Black box tests Unix command line tools";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, stompclient, python-daemon, redis, pid, pytest, six, click, coverage
|
||||
, sqlalchemy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CoilMQ";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4cbfeb5ed2459df14902c1380157be6267702b1271682924cd316ccad8a29d1d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stompclient python-daemon redis pid ];
|
||||
buildInputs = [ pytest six click coverage sqlalchemy ];
|
||||
|
||||
# The teste data is not included in the distribution
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple, lightweight, and easily extensible STOMP message broker";
|
||||
homepage = "https://github.com/hozn/coilmq/";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pymeeus
|
||||
, pytz
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "convertdate";
|
||||
version = "2.2.2";
|
||||
|
||||
# Tests are not available in the PyPI tarball so use GitHub instead.
|
||||
src = fetchFromGitHub {
|
||||
owner = "fitnr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07x1j6jgkmrzdpv2lhpp4n16621mpmlylvwdwsggdjivhzvc3x9q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pymeeus
|
||||
pytz
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/fitnr/convertdate";
|
||||
description = "Utils for converting between date formats and calculating holidays";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "darcsver";
|
||||
version = "1.7.4";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yb1c3jxqvy4r3qiwvnb86qi5plw6018h15r3yk5ji3nk54qdcb6";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
|
||||
# Note: We don't actually need to provide Darcs as a build input.
|
||||
# Darcsver will DTRT when Darcs isn't available. See news.gmane.org
|
||||
# http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
|
||||
# discussion.
|
||||
|
||||
# AttributeError: 'module' object has no attribute 'test_darcsver'
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Darcsver, generate a version number from Darcs history";
|
||||
homepage = "https://pypi.python.org/pypi/darcsver";
|
||||
license = "BSD-style";
|
||||
};
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, parameterized
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, regex
|
||||
, tzlocal
|
||||
, convertdate
|
||||
, umalqurra
|
||||
, jdatetime
|
||||
, ruamel-yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dateparser";
|
||||
version = "0.7.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scrapinghub";
|
||||
repo = "dateparser";
|
||||
rev = "v${version}";
|
||||
sha256 = "0j3sm4hlx7z0ci5fnjq5n9i02vvlfz0wxa889ydryfknjhy5apqw";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
parameterized
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_dateparser_data_integrity.py" # ImportError: No module named ruamel.yaml
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# install_requires
|
||||
python-dateutil pytz regex tzlocal
|
||||
# extra_requires
|
||||
convertdate umalqurra jdatetime ruamel-yaml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dateparser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Date parsing library designed to parse dates from HTML pages";
|
||||
homepage = "https://github.com/scrapinghub/dateparser";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pyopenssl
|
||||
, pkgs
|
||||
, isPy3k
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "deskcon";
|
||||
version = "0.3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner= "screenfreeze";
|
||||
repo = "deskcon-desktop";
|
||||
rev = "267804122188fa79c37f2b21f54fe05c898610e6";
|
||||
sha256 ="0i1dd85ls6n14m9q7lkympms1w3x0pqyaxvalq82s4xnjdv585j3";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
|
||||
pythonPath = [ pyopenssl pkgs.gtk3 ];
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace server/deskcon-server --replace "python2" "python"
|
||||
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/lib/${python.libPrefix}/site-packages
|
||||
cp -r "server/"* $out/lib/${python.libPrefix}/site-packages
|
||||
mv $out/lib/${python.libPrefix}/site-packages/deskcon-server $out/bin/deskcon-server
|
||||
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrates an Android device into a desktop";
|
||||
homepage = "https://github.com/screenfreeze/deskcon-desktop";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django_evolution";
|
||||
version = "2.1.2";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "28bad07b5e29a0ea4bd9727c6927cbee25d349d21606a553a0c748fbee0c073c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A database schema evolution tool for the Django web framework";
|
||||
homepage = "https://github.com/beanbaginc/django-evolution";
|
||||
license = licenses.bsd0;
|
||||
broken = true;
|
||||
};
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dnspython";
|
||||
version = "1.16.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01";
|
||||
};
|
||||
|
||||
# needs networking for some tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "dns" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DNS toolkit for Python";
|
||||
homepage = "http://www.dnspython.org";
|
||||
license = with licenses; [ isc ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dtopt";
|
||||
version = "0.1";
|
||||
# Test contain Python 2 print
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Add options to doctest examples while they are running";
|
||||
homepage = "https://pypi.python.org/pypi/dtopt";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
||||
, urllib3, certifi
|
||||
, gevent, geventhttpclient, mock, fastimport
|
||||
, git, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.19.16";
|
||||
pname = "dulwich";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f74561c448bfb6f04c07de731c1181ae4280017f759b0bb04fa5770aa84ca850";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
propagatedBuildInputs = [ urllib3 certifi ];
|
||||
|
||||
# Only test dependencies
|
||||
checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple Python implementation of the Git file formats and protocols";
|
||||
homepage = "https://www.dulwich.io/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchdarcs
|
||||
, greenlet
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-eventlib";
|
||||
version = "0.2.4";
|
||||
# Judging from SyntaxError
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchdarcs {
|
||||
url = "http://devel.ag-projects.com/repositories/${pname}";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1w1axsm6w9bl2smzxmyk4in1lsm8gk8ma6y183m83cpj66aqxg4z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ greenlet ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Eventlib bindings for python";
|
||||
homepage = "https://ag-projects.com/";
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib, fetchPypi, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "faulthandler";
|
||||
version = "3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08ybjjdrfp01syckksxzivqhn6b0yhmc17kdxh77h0lg6rvgvk8y";
|
||||
};
|
||||
|
||||
# This may be papering over a real failure where the env var activation route
|
||||
# for faulthandler does not appear to work. That said, since all other tests
|
||||
# pass and since this module is python 2 only (it was upstreamed into the
|
||||
# interpreter itself as of python 3.3 and is disabled ) this just disables the
|
||||
# test to fix the build. From inspecting Hydra logs and git bisect, the commit
|
||||
# that broke it is this one:
|
||||
# https://github.com/NixOS/nixpkgs/commit/90be4c2c7875c9487508d95b5c638d97e2903ada
|
||||
patches = [ ./disable-env-test.patch ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dump the Python traceback";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ sauyon ];
|
||||
homepage = "https://faulthandler.readthedocs.io/";
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython
|
||||
, numpy
|
||||
, python
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.2";
|
||||
pname = "fdint";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "30db139684d362652670e2cd3206b5dd7b3b93b86c3aff37f4b4fd4a3f98aead";
|
||||
};
|
||||
|
||||
buildInputs = [ cython ];
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# tests not included with pypi release
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m fdint.tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/scott-maddox/fdint";
|
||||
description = "A free, open-source python package for quickly and precisely approximating Fermi-Dirac integrals";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "feedparser";
|
||||
version = "5.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
|
||||
};
|
||||
|
||||
# lots of networking failures
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/kurtmckee/feedparser";
|
||||
description = "Universal feed parser";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
|
||||
, flask, flask_wtf, flask_testing, ldap
|
||||
, mock, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-ldap-login";
|
||||
version = "0.3.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ContinuumIO";
|
||||
repo = "flask-ldap-login";
|
||||
rev = version;
|
||||
sha256 = "1l6zahqhwn5g9fmhlvjv80288b5h2fk5mssp7amdkw5ysk570wzp";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix flask_wtf>=0.9.0 incompatibility. See https://github.com/ContinuumIO/flask-ldap-login/issues/41
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ContinuumIO/flask-ldap-login/commit/ed08c03c818dc63b97b01e2e7c56862eaa6daa43.patch";
|
||||
sha256 = "19pkhbldk8jq6m10kdylvjf1c8m84fvvj04v5qda4cjyks15aq48";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ nose mock flask_testing ];
|
||||
propagatedBuildInputs = [ flask flask_wtf ldap ];
|
||||
|
||||
checkPhase = "nosetests -d";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ContinuumIO/flask-ldap-login";
|
||||
description = "User session management for Flask";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flup";
|
||||
version = "1.0.3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5eb09f26eb0751f8380d8ac43d1dfb20e1d42eca0fa45ea9289fa532a79cd159";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.saddi.com/software/flup/";
|
||||
description = "FastCGI Python module set";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fudge";
|
||||
version = "1.1.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1p7g6hv9qxscbzjv2n5pczpkkp55mp3s56adfc912w9qpf3rv4nr";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/fudge-py/fudge";
|
||||
description = "Replace real objects with fakes (mocks, stubs, etc) while testing";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, tornado
|
||||
, futures
|
||||
, html5lib
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "gateone";
|
||||
version = "1.2-0d57c3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
|
||||
owner= "liftoff";
|
||||
repo = "GateOne";
|
||||
sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];
|
||||
|
||||
postInstall=''
|
||||
cp -R "$out/gateone/"* $out/lib/python2.7/site-packages/gateone
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://liftoffsoftware.com/";
|
||||
description = "GateOne is a web-based terminal emulator and SSH client";
|
||||
maintainers = with maintainers; [ tomberek ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, geographiclib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geopy";
|
||||
version = "1.22.0";
|
||||
|
||||
disabled = !isPy27; # only Python 2.7
|
||||
doCheck = false; # Needs network access
|
||||
|
||||
propagatedBuildInputs = [ geographiclib ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jypkaqlbyr8icqypwm23lzsvq7flakp3a3nqr8ib5fmd0fzsq7q";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/geopy/geopy";
|
||||
description = "Python Geocoding Toolbox";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [GuillaumeDesforges];
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-gnutls";
|
||||
version = "3.1.3";
|
||||
|
||||
# https://github.com/AGProjects/python-gnutls/issues/2
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "79f94017e6472ac665c85bc16d68aa2e6681f53b6a9e74516557b49b6fc6a651";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.gnutls ];
|
||||
patchPhase = ''
|
||||
substituteInPlace gnutls/library/__init__.py --replace "/usr/local/lib" "${pkgs.gnutls.out}/lib"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for the GnuTLS library";
|
||||
homepage = "https://github.com/AGProjects/python-gnutls";
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.7.0";
|
||||
pname = "gsd";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fpk69wachyydpk9cbs901m7hkwrrvq24ykxsrz62km9ql8lr2vp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# tests not packaged with gsd
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://bitbucket.org/glotzer/gsd";
|
||||
description = "General simulation data file format";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, coverage
|
||||
, mock
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gunicorn";
|
||||
version = "19.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1080jk1ly8j0rc6lv8i33sj94rxjaskd1732cdq5chdqb3ij9ppr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
checkInputs = [ pytest mock pytest-cov coverage ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace requirements_test.txt --replace "==" ">=" \
|
||||
--replace "coverage>=4.0,<4.4" "coverage"
|
||||
'';
|
||||
|
||||
# better than no tests
|
||||
checkPhase = ''
|
||||
$out/bin/gunicorn --help > /dev/null
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "gunicorn" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/benoitc/gunicorn";
|
||||
description = "WSGI HTTP Server for UNIX";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, dulwich
|
||||
, isPy3k
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hg-git";
|
||||
version = "0.8.12";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13hbm0ki6s88r6p65ibvrbxnskinzdz0m9gsshb8s571p91ymfjn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dulwich ];
|
||||
|
||||
# Needs patch to work with Mercurial 4.8
|
||||
# https://foss.heptapod.net/mercurial/hg-git/-/issues/264
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://foss.heptapod.net/mercurial/hg-git/-/commit/186b37af1ff61e8141e9eea5c75a03b3c82f1ab9.diff";
|
||||
sha256 = "sha256-KS6fUJOVzCYX/r5sdRXuFDKtlgxz80bGDFb71ISnRgc=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Push and pull from a Git server using Mercurial";
|
||||
homepage = "https://hg-git.github.io/";
|
||||
maintainers = with maintainers; [ koral ];
|
||||
license = licenses.gpl2Only;
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, hglib
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hgsvn";
|
||||
version = "0.3.15";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "036270cc2803f7a7de3842e8c593849631b2293e647aa3444f68f1b1834d1fa1";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ hglib ];
|
||||
|
||||
doCheck = false; # too many assumptions
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.python.org/pypi/hgsvn";
|
||||
description = "A set of scripts to work locally on Subversion checkouts using Mercurial";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hsaudiotag";
|
||||
version = "1.1.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15hgm128p8nysfi0jb127awga3vlj0iw82l50swjpvdh01m7rda8";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure Python library that lets one to read metadata from media files";
|
||||
homepage = "http://hg.hardcoded.net/hsaudiotag/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "html2text";
|
||||
version = "2018.1.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "627514fb30e7566b37be6900df26c2c78a030cc9e6211bda604d8181233bcdd4";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Turn HTML into equivalent Markdown-structured text";
|
||||
homepage = "https://github.com/Alir3z4/html2text/";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pycrypto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "http_signature";
|
||||
version = "0.1.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14acc192ef20459d5e11b4e800dd3a4542f6bd2ab191bf5717c696bf30936c62";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pycrypto ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/atl/py-http-signature";
|
||||
description = "Simple secure signing for HTTP requests using http-signature";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, scikit-learn, pandas, nose, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "imbalanced-learn";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ scikit-learn ];
|
||||
checkInputs = [ nose pytest pandas ];
|
||||
checkPhase = ''
|
||||
export HOME=$PWD
|
||||
# skip some tests that fail because of minimal rounding errors
|
||||
# or large dependencies
|
||||
py.test imblearn -k 'not classification \
|
||||
and not _generator \
|
||||
and not _forest \
|
||||
and not wrong_memory'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";
|
||||
homepage = "https://github.com/scikit-learn-contrib/imbalanced-learn";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, importlib-metadata
|
||||
, typing
|
||||
, singledispatch
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "importlib-resources";
|
||||
version = "3.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "importlib_resources";
|
||||
inherit version;
|
||||
sha256 = "0ed250dbd291947d1a298e89f39afcc477d5a6624770503034b72588601bcc05";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
singledispatch
|
||||
typing
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read resources from Python packages";
|
||||
homepage = "https://importlib-resources.readthedocs.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
{ lib
|
||||
, isPy27
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, importlib-metadata
|
||||
, typing ? null
|
||||
, singledispatch ? null
|
||||
, pythonOlder
|
||||
, python
|
||||
}:
|
||||
@ -12,6 +12,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "importlib-resources";
|
||||
version = "5.4.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "importlib_resources";
|
||||
@ -25,8 +26,6 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
] ++ lib.optional (pythonOlder "3.4") [
|
||||
singledispatch
|
||||
] ++ lib.optional (pythonOlder "3.5") [
|
||||
typing
|
||||
];
|
||||
|
@ -1,41 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, isPy27
|
||||
, mock
|
||||
, ipython
|
||||
, jupyter-client
|
||||
, pexpect
|
||||
, traitlets
|
||||
, tornado
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipykernel";
|
||||
version = "4.10.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "eeb74b2bcfe0ced5a7900361f98fa1171288aa47ed4b522efe5acb167c6cf5fb";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
|
||||
propagatedBuildInputs = [
|
||||
ipython
|
||||
jupyter-client
|
||||
pexpect
|
||||
traitlets
|
||||
tornado
|
||||
];
|
||||
|
||||
# Tests require backends.
|
||||
# I don't want to add all supported backends as propagatedBuildInputs
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "IPython Kernel for Jupyter";
|
||||
homepage = "http://ipython.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
# Build dependencies
|
||||
, glibcLocales
|
||||
# Test dependencies
|
||||
, nose
|
||||
, pygments
|
||||
, testpath
|
||||
, isPy27
|
||||
, mock
|
||||
# Runtime dependencies
|
||||
, backports_shutil_get_terminal_size
|
||||
, decorator
|
||||
, pathlib2
|
||||
, pickleshare
|
||||
, requests
|
||||
, simplegeneric
|
||||
, traitlets
|
||||
, prompt-toolkit
|
||||
, pexpect
|
||||
, appnope
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipython";
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4bac649857611baaaf76bc82c173aa542f7486446c335fe1a6c05d0d491c8906";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace setup.py --replace "'gnureadline'" " "
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# Use the proper pygments lexer for python2 (https://github.com/ipython/ipython/pull/12095)
|
||||
(fetchpatch {
|
||||
name = "python2-lexer.patch";
|
||||
url = "https://github.com/ipython/ipython/pull/12095/commits/8805293b5e4bce9150cc2ad9c5d6d984849ae447.patch";
|
||||
sha256 = "16p4gl7a49v76w33j39ih7yspy6x2d14p9bh4wdpg9cafhw9nbc0";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
checkInputs = [ nose pygments testpath ] ++ lib.optional isPy27 mock;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backports_shutil_get_terminal_size decorator pickleshare prompt-toolkit
|
||||
simplegeneric traitlets requests pathlib2 pexpect
|
||||
] ++ lib.optionals stdenv.isDarwin [ appnope ];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
doCheck = false; # Circular dependency with ipykernel
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "IPython: Productive Interactive Computing";
|
||||
homepage = "http://ipython.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ bjornfor orivej lnl7 ];
|
||||
};
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, setuptools, isPy27, futures
|
||||
, backports_functools_lru_cache, mock, pytest
|
||||
}:
|
||||
|
||||
let
|
||||
skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
|
||||
testOpts = lib.concatMapStringsSep " " (t: "--deselect test_isort.py::${t}") skipTests;
|
||||
in buildPythonPackage rec {
|
||||
pname = "isort";
|
||||
version = "4.3.21"; # Note 4.x is the last version that supports Python2
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
] ++ lib.optionals isPy27 [ futures backports_functools_lru_cache ];
|
||||
|
||||
checkInputs = [ mock pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
# isort excludes paths that contain /build/, so test fixtures don't work
|
||||
# with TMPDIR=/build/
|
||||
PATH=$out/bin:$PATH TMPDIR=/tmp/ pytest ${testOpts}
|
||||
|
||||
# Confirm that the produced executable script is wrapped correctly and runs
|
||||
# OK, by launching it in a subshell without PYTHONPATH
|
||||
(
|
||||
unset PYTHONPATH
|
||||
echo "Testing that `isort --version-number` returns OK..."
|
||||
$out/bin/isort --version-number
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python utility / library to sort Python imports";
|
||||
homepage = "https://github.com/timothycrosley/isort";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ couchemar ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, setuptools-scm
|
||||
, more-itertools, backports_functools_lru_cache }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.functools";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ickpwvvdrlbm477gdzfjfcbgmfia9ksm9a3i3pbx9xia97r9fim";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Additional functools in the spirit of stdlib's functools";
|
||||
homepage = "https://github.com/jaraco/jaraco.functools";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ buildPythonPackage, fetchPypi, setuptools-scm, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.stream";
|
||||
version = "2.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "196synw4g76yagcflmavi7wakf5cdgsflmvbj7zs616gv03xbsf2";
|
||||
};
|
||||
doCheck = false;
|
||||
buildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cjson
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonrpclib";
|
||||
version = "0.2.1";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8138078fd0f2a5b1df7925e4fa0b82a7c17a4be75bf5634af20463172f44f5c0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cjson ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON RPC client library";
|
||||
homepage = "https://pypi.python.org/pypi/jsonrpclib/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.joachifm ];
|
||||
};
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, traitlets
|
||||
, jupyter_core
|
||||
, pyzmq
|
||||
, python-dateutil
|
||||
, isPyPy
|
||||
, py
|
||||
, tornado
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-client";
|
||||
version = "5.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_client";
|
||||
inherit version;
|
||||
sha256 = "5efdf4131124d4a0d5789101e74827022585f172d2f4b60cf6fa98e0a7511b25";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
traitlets
|
||||
jupyter_core
|
||||
pyzmq
|
||||
python-dateutil
|
||||
tornado
|
||||
] ++ lib.optional isPyPy py;
|
||||
|
||||
# Circular dependency with ipykernel
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Jupyter protocol implementation and client libraries";
|
||||
homepage = "https://jupyter.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, jupyter-client
|
||||
, ipython
|
||||
, ipykernel
|
||||
, prompt-toolkit
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter_console";
|
||||
version = "5.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [
|
||||
jupyter-client
|
||||
ipython
|
||||
ipykernel
|
||||
prompt-toolkit
|
||||
pygments
|
||||
];
|
||||
|
||||
# ValueError: underlying buffer has been detached
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Jupyter terminal console";
|
||||
homepage = "https://jupyter.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, stdenv
|
||||
, libcxx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kiwisolver";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
|
||||
|
||||
# Does not include tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A fast implementation of the Cassowary constraint solver";
|
||||
homepage = "https://github.com/nucleic/kiwi";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib, fetchurl, buildPythonPackage, isPy3k, pycurl, six, rpm, python-dateutil }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "koji";
|
||||
version = "1.14.3";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.pagure.org/koji/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0a3kn3qvspvx15imgzzzjsbvw6bqmbk29apbliqwifa9cj7pvb40";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pycurl six rpm python-dateutil ];
|
||||
|
||||
# Judging from SyntaxError
|
||||
disabled = isPy3k;
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/usr/* $out/
|
||||
cp -R $out/nix/store/*/* $out/
|
||||
rm -rf $out/nix
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An RPM-based build system";
|
||||
homepage = "https://pagure.io/koji";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, writeText, configparser, six, pytest, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "konfig";
|
||||
version = "1.1";
|
||||
|
||||
# konfig unconditionaly depend on configparser, even if it is part of
|
||||
# the standard library in python 3.2 or above.
|
||||
disabled = isPy3k;
|
||||
|
||||
# PyPI tarball is missing utf8.ini, required for tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla-services";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1h780fbrv275dcik4cs3rincza805z6q726b48r4a0qmh5d8160c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ configparser six ];
|
||||
|
||||
patches = [ (writeText "konfig.patch" ''
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 96fd858..bb4db06 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -20,7 +20,7 @@ setup(name='konfig',
|
||||
author_email="tarek@mozilla.com",
|
||||
include_package_data=True,
|
||||
install_requires = [
|
||||
- 'configparser', 'argparse', 'six'
|
||||
+ 'configparser', 'six'
|
||||
],
|
||||
zip_safe=False,
|
||||
classifiers=classifiers,
|
||||
'') ];
|
||||
|
||||
checkInputs = [ pytest glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL=en_US.utf8 pytest -v konfig/tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet Another Config Parser";
|
||||
homepage = "https://github.com/mozilla-services/konfig";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, sphinx
|
||||
, tracing
|
||||
, ttystatus
|
||||
, cliapp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "larch";
|
||||
version = "1.20131130";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz";
|
||||
sha256 = "1hfanp9l6yc5348i3f5sb8c5s4r43y382hflnbl6cnz4pm8yh5r7";
|
||||
};
|
||||
|
||||
buildInputs = [ sphinx ];
|
||||
propagatedBuildInputs = [ tracing ttystatus cliapp ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://liw.fi/larch/";
|
||||
description = "Python B-tree library";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [];
|
||||
};
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, Theano
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Lasagne";
|
||||
version = "0.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cqj86rdm6c7y5vq3i13qy76fg5xi3yjp4r0hpqy8hvynv54wqrw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy Theano ];
|
||||
|
||||
# there are no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight library to build and train neural networks in Theano";
|
||||
homepage = "https://github.com/Lasagne/Lasagne";
|
||||
maintainers = with maintainers; [ NikolaMandic ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, twisted
|
||||
, passlib
|
||||
, pyopenssl
|
||||
, pyparsing
|
||||
, service-identity
|
||||
, zope_interface
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ldaptor";
|
||||
version = "19.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
twisted passlib pyopenssl pyparsing service-identity zope_interface
|
||||
];
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A Pure-Python Twisted library for LDAP";
|
||||
homepage = "https://github.com/twisted/ldaptor";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, simplejson
|
||||
, psutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "le";
|
||||
version = "1.4.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "logentries";
|
||||
repo = "le";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-67JPnof0olReu90rM78e1px8NvbGcj8pphFhPaiSVmA=";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ simplejson psutil ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rapid7/le";
|
||||
description = "Logentries agent";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchgit, pkg-config, lxml, libvirt, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libvirt";
|
||||
version = "5.9.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://libvirt.org/libvirt-python.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qvr0s7yasswy1s5cvkm91iifk33pb8s7nbb38zznc46706b358r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libvirt lxml ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit libvirt;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.libvirt.org/";
|
||||
description = "libvirt Python bindings";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = [ maintainers.fpletz ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lightblue";
|
||||
version = "0.4";
|
||||
disabled = isPy3k; # build fails, 2018-04-11
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "016h1mlhpqxjj25lcvl4fqc19k8ifmsv6df7rhr12fyfcrp5i14d";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.bluez pkgs.openobex ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://lightblue.sourceforge.net";
|
||||
description = "Cross-platform Bluetooth API for Python";
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, colored
|
||||
, boto
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lsi";
|
||||
version = "0.4.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b2c4a9a276a32f914a6193509503c28b3cc84bf42d58e191214811cfe78f4736";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ colored boto pkgs.openssh pkgs.which ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI for querying and SSHing onto AWS EC2 instances";
|
||||
homepage = "https://github.com/NarrativeScience/lsi";
|
||||
maintainers = [maintainers.adnelson];
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "python-lxc-unstable";
|
||||
version = "2016-08-25";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxc";
|
||||
repo = "python2-lxc";
|
||||
rev = "0553f05d23b56b59bf3015fa5e45bfbfab9021ef";
|
||||
sha256 = "0p9kb20xvq91gx2wfs3vppb7vsp8kmd90i3q95l4nl1y4aismdn4";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.lxc ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Out of tree python 2.7 binding for liblxc";
|
||||
homepage = "https://github.com/lxc/python2-lxc";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, matplotlib
|
||||
, scipy
|
||||
, pandas
|
||||
, requests
|
||||
, pillow
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mapsplotlib";
|
||||
version = "1.2.1";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7650754e3175f13a1cb4406a62e4cfeb424036377992b9c3c2e3f6c2404d06b3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ matplotlib scipy pandas requests pillow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Custom Python plots on a Google Maps background";
|
||||
homepage = "https://github.com/tcassou/mapsplotlib";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.rob ];
|
||||
};
|
||||
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, mozprofile
|
||||
, mozversion
|
||||
, moztest
|
||||
, manifestparser
|
||||
, marionette_driver
|
||||
, browsermob-proxy
|
||||
, wptserve
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marionette-harness";
|
||||
version = "5.0.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "041cd779ae383fb5c56f2bb44824f4e80ba895febd9a3f21570ac274221c82e0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozprofile mozversion browsermob-proxy moztest
|
||||
wptserve manifestparser marionette_driver ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla Marionette protocol test automation harness";
|
||||
homepage = "https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, mozversion
|
||||
, mozrunner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marionette_driver";
|
||||
version = "3.0.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "99ca2513d4e2ca29a08e550346f23947a50627a2b02f6ad36a4550e779fa0ce8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozversion mozrunner ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla Marionette driver";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Marionette";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozfile
|
||||
, mozlog
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozcrash";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8c2d2f32bd6e0ba3644f5d16e427444d8cb51ec1e9baa340a33e10687307f8c4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozfile mozlog ];
|
||||
|
||||
meta = {
|
||||
description = "Minidump stack trace extractor";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozlog
|
||||
, moznetwork
|
||||
, mozprocess
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozdevice";
|
||||
version = "3.0.7";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
sha256 = "1n7l3drdh3rm3320v98c9hhh37ljk9l861hyw18psca7jdd717n5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog moznetwork mozprocess ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla-authored device management";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozfile";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e5dc835582ea150e35ecd57e9d86cb707d3aa3b2505679db7332326dd49fd6b8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# mozhttpd -> moznetwork -> mozinfo -> mozfile
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "File utilities for Mozilla testing";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, moznetwork
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozhttpd";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3e2a9b4d6c007a1a9fb729d6e95b5404d138914727747e10155426492dced975";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ moznetwork ];
|
||||
|
||||
meta = {
|
||||
description = "Webserver for Mozilla testing";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, mozfile
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozinfo";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4525c26350fb85c26b38c5f853a19f47b17b49a74de363d285d54258972a4cbc";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ mozfile ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "System information utilities for Mozilla testing";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, blessings
|
||||
, mozterm
|
||||
, six
|
||||
, mozfile
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozlog";
|
||||
version = "5.0";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0h1hgs13c1w0wvz60400i37m00077li1ky28j7kgx4bl75pkd3sw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ blessings mozterm six ];
|
||||
|
||||
checkInputs = [ mozfile ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla logging library";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozlog
|
||||
, mozinfo
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moznetwork";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ws20l4ggb6mj7ycwrk5h7hj1jmj3mj0ca48k5jzsa4n042ahwrd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog mozinfo ];
|
||||
|
||||
meta = {
|
||||
description = "Network utilities for Mozilla testing";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozinfo
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozprocess";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a0fd8367e663d3cac74ee46bffa789667bc8d52f242d81a14522205fa6650cb2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozinfo ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla-authored process handling";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozlog
|
||||
, mozfile
|
||||
, mozhttpd
|
||||
, wptserve
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozprofile";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09l18x72vahq7il9nj6qj7la2d21vvbcn9szlm3vsvsbkz68w0yk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog mozfile mozhttpd ];
|
||||
|
||||
checkInputs = [ wptserve ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla application profile handling library";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozdevice
|
||||
, mozfile
|
||||
, mozinfo
|
||||
, mozlog
|
||||
, mozprocess
|
||||
, mozprofile
|
||||
, mozcrash
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozrunner";
|
||||
version = "7.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04s6w0sp83bn3c6ym75rnlpmcy3yr7d35jxkxhgzmy75gbcps7bi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozdevice mozfile mozinfo mozlog mozprocess
|
||||
mozprofile mozcrash ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla application start/stop helpers";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozinfo
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moztest";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pg9pqq4xnn14k1jqbyqg81zag2v66y725537v6hixi41yiqkdas";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozinfo ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla test result storage and output";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mozlog
|
||||
, mozdevice
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozversion";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jczc1yr2yi3mf1qdgpvg9sidp5hf3jplzs4917j65ymvk2zw9na";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog mozdevice ];
|
||||
|
||||
meta = {
|
||||
description = "Application version information library";
|
||||
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
{ lib, stdenv, fetchPypi, writeText, python, buildPythonPackage, pycairo, backports_functools_lru_cache
|
||||
, which, cycler, python-dateutil, nose, numpy, pyparsing, sphinx, tornado, kiwisolver
|
||||
, freetype, libpng, pkg-config, mock, pytz, pygobject3, gobject-introspection, functools32, subprocess32
|
||||
, fetchpatch
|
||||
, enableGhostscript ? false, ghostscript, gtk3
|
||||
, enableGtk3 ? false, cairo
|
||||
# darwin has its own "MacOSX" backend
|
||||
, enableTk ? !stdenv.isDarwin, tcl, tk, tkinter, libX11
|
||||
, enableQt ? false, pyqt4
|
||||
, Cocoa
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.2.3";
|
||||
pname = "matplotlib";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/matplotlib/matplotlib/pull/12478
|
||||
(fetchpatch {
|
||||
name = "numpy-1.16-compat.patch";
|
||||
url = "https://github.com/matplotlib/matplotlib/commit/2980184d092382a40ab21f95b79582ffae6e19d6.patch";
|
||||
sha256 = "1c0wj28zy8s5h6qiavx9zzbhlmhjwpzbc3fyyw9039mbnqk0spg2";
|
||||
})
|
||||
];
|
||||
|
||||
XDG_RUNTIME_DIR = "/tmp";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ which sphinx ]
|
||||
++ lib.optional enableGhostscript ghostscript
|
||||
++ lib.optional stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ cycler python-dateutil nose numpy pyparsing tornado freetype kiwisolver
|
||||
libpng mock pytz ]
|
||||
++ lib.optional (pythonOlder "3.3") backports_functools_lru_cache
|
||||
++ lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
||||
++ lib.optionals enableTk [ tcl tk tkinter libX11 ]
|
||||
++ lib.optionals enableQt [ pyqt4 ]
|
||||
++ lib.optionals python.isPy2 [ functools32 subprocess32 ];
|
||||
|
||||
passthru.config = {
|
||||
directories = { basedirlist = "."; };
|
||||
};
|
||||
setup_cfg = writeText "setup.cfg" (lib.generators.toINI {} passthru.config);
|
||||
preBuild = ''
|
||||
cp "$setup_cfg" ./setup.cfg
|
||||
'';
|
||||
|
||||
# Matplotlib tries to find Tcl/Tk by opening a Tk window and asking the
|
||||
# corresponding interpreter object for its library paths. This fails if
|
||||
# `$DISPLAY` is not set. The fallback option assumes that Tcl/Tk are both
|
||||
# installed under the same path which is not true in Nix.
|
||||
# With the following patch we just hard-code these paths into the install
|
||||
# script.
|
||||
postPatch =
|
||||
let
|
||||
tcl_tk_cache = ''"${tk}/lib", "${tcl}/lib", "${lib.strings.substring 0 3 tk.version}"'';
|
||||
in
|
||||
lib.optionalString enableTk
|
||||
"sed -i '/self.tcl_tk_cache = None/s|None|${tcl_tk_cache}|' setupext.py";
|
||||
|
||||
# Matplotlib needs to be built against a specific version of freetype in
|
||||
# order for all of the tests to pass.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python plotting library, making publication quality plots";
|
||||
homepage = "https://matplotlib.org/";
|
||||
maintainers = with maintainers; [ lovek323 veprbl ];
|
||||
};
|
||||
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython
|
||||
, isPy3k
|
||||
, simplejson
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "meliae";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname;
|
||||
# FIXME when updating to the next version: The tarball on pypi is called
|
||||
# "meliae-0.4.0.tar.gz" while the version within that tarball is
|
||||
# "0.4.0.final.0".
|
||||
version = "0.4.0";
|
||||
sha256 = "976519ab02aaa6a8fb5f596dc4dd9f64fc9510b00e054979566e51c9be7cec99";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
python setup.py build_ext -i
|
||||
python run_tests.py
|
||||
'';
|
||||
|
||||
checkInputs = [ simplejson ];
|
||||
|
||||
propagatedBuildInputs = [ cython ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Memory Usage Analyzer";
|
||||
homepage = "https://launchpad.net/meliae";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ xvapx ];
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib, buildPythonPackage, isPy3k, fetchPypi, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "metaphone";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Metaphone";
|
||||
inherit version;
|
||||
sha256 = "09ysaczwh2rlsqq9j5fz7m4pq2fs0axp5vvivrpfrdvclvffl2xd";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
buildInputs = [ nose ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/oubiwann/metaphone";
|
||||
description = "A Python implementation of the metaphone and double metaphone algorithms";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyramid
|
||||
, simplejson
|
||||
, konfig
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozsvc";
|
||||
version = "0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla-services";
|
||||
repo = "mozservices";
|
||||
rev = version;
|
||||
sha256 = "0a0558g8j55pd1nnhnnf3k377jv6cah8lxb24v98rq8kxr5960cg";
|
||||
};
|
||||
|
||||
doCheck = false; # too many dependencies and conflicting versions; I (nadrieril) gave up
|
||||
propagatedBuildInputs = [ pyramid simplejson konfig ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mozilla-services/mozservices";
|
||||
description = "Various utilities for Mozilla apps";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ nadrieril ];
|
||||
};
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozterm";
|
||||
version = "1.0.0";
|
||||
|
||||
# name 'unicode' is not defined
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [six];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b1e91acec188de07c704dbb7b0100a7be5c1e06567b3beb67f6ea11d00a483a4";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal abstractions built around the blessings module";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-mpd";
|
||||
version = "0.3.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02812eba1d2e0f46e37457f5a6fa23ba203622e4bcab0a19b265e66b08cd21b4";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "An MPD (Music Player Daemon) client library written in pure Python";
|
||||
homepage = "http://jatreuman.indefero.net/p/python-mpd/";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ buildPythonPackage, lib, glibcLocales, mock, nose, isPy3k, jinja2, six
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mr-bob";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "mr.bob";
|
||||
sha256 = "6737eaf98aaeae85e07ebef844ee5156df2f06a8b28d7c3dcb056f811c588121";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
checkInputs = [ nose glibcLocales mock ];
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ jinja2 six ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/domenkozar/mr.bob";
|
||||
description = "A tool to generate code skeletons from templates";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchdarcs
|
||||
, eventlib
|
||||
, application
|
||||
, gnutls
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-msrplib";
|
||||
version = "0.19.2";
|
||||
|
||||
src = fetchdarcs {
|
||||
url = "http://devel.ag-projects.com/repositories/${pname}";
|
||||
rev = "release-${version}";
|
||||
sha256 = "0d0krwv4hhspjgppnvh0iz51bvdbz23cjasgrppip7x8b00514gz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ eventlib application gnutls ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/AGProjects/python-msrplib";
|
||||
description = "Client library for MSRP protocol and its relay extension (RFC 4975 and RFC4976)";
|
||||
license = licenses.lgpl3;
|
||||
};
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "muttils";
|
||||
version = "1.3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.blacktrash.org/hg/muttils/archive/8bb26094df06.tar.bz2";
|
||||
sha256 = "1a4kxa0fpgg6rdj5p4kggfn8xpniqh8v5kbiaqc6wids02m7kag6";
|
||||
};
|
||||
|
||||
# Tests don't work
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for use with console mail clients, like mutt";
|
||||
homepage = "https://www.blacktrash.org/hg/muttils";
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.13.2";
|
||||
pname = "mwlib.ext";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "9229193ee719568d482192d9d913b3c4bb96af7c589d6c31ed4a62caf5054278";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dependencies for mwlib markup";
|
||||
homepage = "http://pediapress.com/code/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mwlib
|
||||
, mwlib-ext
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.14.5";
|
||||
pname = "mwlib.rl";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "dddf9603ea0ca5aa87890217709eb5a5b16baeca547db3daad43c3ace73b6bc1";
|
||||
};
|
||||
|
||||
buildInputs = [ mwlib mwlib-ext pygments ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate pdfs from mediawiki markup";
|
||||
homepage = "http://pediapress.com/code/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, apipkg
|
||||
, bottle
|
||||
, gevent
|
||||
, lxml
|
||||
, odfpy
|
||||
, pillow
|
||||
, py
|
||||
, pyPdf
|
||||
, pyparsing
|
||||
, qserve
|
||||
, roman
|
||||
, simplejson
|
||||
, sqlite3dbm
|
||||
, timelib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.16.1";
|
||||
pname = "mwlib";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dnmnkc21zdfaypskbpvkwl0wpkpn0nagj1fc338w64mbxrk8ny7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ apipkg bottle gevent lxml odfpy pillow py pyPdf pyparsing qserve roman simplejson sqlite3dbm timelib ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/odfpy>=0.9, <0.10/odfpy/" setup.py
|
||||
sed -i "s/pyparsing>=1.4.11,<1.6/pyparsing/" setup.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Tests are in build directory but we need extension modules that are in $out
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for parsing MediaWiki articles and converting them to different output formats";
|
||||
homepage = "http://pediapress.com/code/";
|
||||
license = licenses.bsd3;
|
||||
# broken = true; # Requires different versions of packages
|
||||
};
|
||||
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
, fetchurl
|
||||
, tkinter
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "namebench";
|
||||
version = "1.3.1";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/{pname}/${pname}-${version}-source.tgz";
|
||||
sha256 = "09clbcd6wxgk4r6qw7hb78h818mvca7lijigy1mlq5y1f3lgkk1h";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ tkinter ];
|
||||
|
||||
# namebench expects to be run from its own source tree (it uses relative
|
||||
# paths to various resources), make it work.
|
||||
postInstall = ''
|
||||
sed -i "s|import os|import os; os.chdir(\"$out/namebench\")|" "$out/bin/namebench.py"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/google/namebench"; # Formerly https://code.google.com/archive/p/namebench/
|
||||
description = "Find fastest DNS servers available";
|
||||
license = with licenses; [
|
||||
asl20
|
||||
# third-party program licenses (embedded in the sources)
|
||||
lgpl21 # Crystal_Clear
|
||||
isc # dns
|
||||
bsd3 # jinja2
|
||||
];
|
||||
longDescription = ''
|
||||
It hunts down the fastest DNS servers available for your computer to
|
||||
use. namebench runs a fair and thorough benchmark using your web
|
||||
browser history, tcpdump output, or standardized datasets in order
|
||||
to provide an individualized recommendation. namebench is completely
|
||||
free and does not modify your system in any way.
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, glibcLocales
|
||||
, ipython_genutils
|
||||
, traitlets
|
||||
, testpath
|
||||
, jsonschema
|
||||
, jupyter_core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbformat";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.utf8";
|
||||
|
||||
checkInputs = [ pytest glibcLocales ];
|
||||
propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
|
||||
|
||||
preCheck = ''
|
||||
mkdir tmp
|
||||
export HOME=tmp
|
||||
'';
|
||||
|
||||
# Some of the tests use localhost networking.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "The Jupyter Notebook format";
|
||||
homepage = "https://jupyter.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ globin ];
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, decorator
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "networkx";
|
||||
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
|
||||
version = "2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ decorator setuptools ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://networkx.github.io/";
|
||||
description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user