Merge branch 'master'

This commit is contained in:
Vladimír Čunát
2018-03-05 12:49:52 +01:00
1666 changed files with 26733 additions and 31238 deletions

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "bap";
version = "1.1.0";
version = "1.3.1";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "BinaryAnalysisPlatform";
repo = "bap-python";
rev = "v${version}";
sha256 = "0wd46ksxscgb2dci69sbndzxs6drq5cahraqq42cdk114hkrsxs3";
rev = "${version}";
sha256 = "1ahkrmcn7qaivps1gar8wd9mq2qqyx6zzvznf5r9rr05h17x5lbp";
};
propagatedBuildInputs = [bap requests];

View File

@@ -0,0 +1,58 @@
# FIXME: make gdk_pixbuf dependency optional
{ buildPythonPackage
, fetchPypi
, lib
, substituteAll
, makeFontsConf
, freefont_ttf
, pytest
, glibcLocales
, cairo
, cffi
, withXcffib ? false, xcffib
, python
, glib
, gdk_pixbuf }:
buildPythonPackage rec {
pname = "cairocffi";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "0i9m3p39g9wrkpjvpawch2qmnmm3cnim7niz3nmmbcp2hrkixwk5";
};
LC_ALL = "en_US.UTF-8";
# checkPhase require at least one 'normal' font and one 'monospace',
# otherwise glyph tests fails
FONTCONFIG_FILE = makeFontsConf {
fontDirectories = [ freefont_ttf ];
};
checkInputs = [ pytest glibcLocales ];
propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib;
checkPhase = ''
py.test $out/${python.sitePackages}
'';
patches = [
# OSError: dlopen() failed to load a library: gdk_pixbuf-2.0 / gdk_pixbuf-2.0-0
(substituteAll {
src = ./dlopen-paths.patch;
cairo = cairo.out;
glib = glib.out;
gdk_pixbuf = gdk_pixbuf.out;
})
./fix_test_scaled_font.patch
];
meta = with lib; {
homepage = https://github.com/SimonSapin/cairocffi;
license = licenses.bsd3;
maintainers = with maintainers; [];
description = "cffi-based cairo bindings for Python";
};
}

View File

@@ -2,7 +2,6 @@
buildPythonPackage rec {
pname = "cement";
name = "${pname}-${version}";
version = "2.10.2";
src = fetchPypi {

View File

@@ -0,0 +1,49 @@
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder
, pyperclip, six, pyparsing, vim
, contextlib2 ? null, subprocess32 ? null
, pytest, mock, which, fetchFromGitHub, glibcLocales
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.8.0";
src = fetchFromGitHub {
owner = "python-cmd2";
repo = "cmd2";
rev = version;
sha256 = "0nw2b7n7zg51bc3glxw0l9fn91mwjnjshklhmxhyvjbsg7khf64z";
};
LC_ALL="en_US.UTF-8";
postPatch = stdenv.lib.optional stdenv.isDarwin ''
# Fake the impure dependencies pbpaste and pbcopy
mkdir bin
echo '#/bin/sh' > bin/pbpaste
echo '#/bin/sh' > bin/pbcopy
chmod +x bin/{pbcopy,pbpaste}
export PATH=$(realpath bin):$PATH
'';
checkInputs= [ pytest mock which vim glibcLocales ];
checkPhase = ''
# test_path_completion_user_expansion might be fixed in the next release
py.test -k 'not test_path_completion_user_expansion'
'';
doCheck = !stdenv.isDarwin;
propagatedBuildInputs = [
pyperclip
six
pyparsing
]
++ stdenv.lib.optional (pythonOlder "3.5") contextlib2
++ stdenv.lib.optional (pythonOlder "3.0") subprocess32
;
meta = with stdenv.lib; {
description = "Enhancements for standard library's cmd module";
homepage = https://github.com/python-cmd2/cmd2;
maintainers = with maintainers; [ teto ];
};
}

View File

@@ -1,7 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "colorama";
version = "0.3.9";

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchFromGitHub
, nose
}:
buildPythonPackage rec {
pname = "d2to1";
version = "0.2.12";
checkInputs = [ nose ];
src = fetchFromGitHub {
owner = "embray";
repo = pname;
rev = version;
sha256 = "1q04ab8vjvx7fmq9ckkl8r9hlwwbqiyjbzaa4v1mv5zicfssxwsi";
};
meta = with lib;{
description = "Support for distutils2-like setup.cfg files as package metadata";
homepage = https://github.com/embray/d2to1;
license = licenses.bsd2;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -1,4 +1,4 @@
{ lib, fetchurl, buildPythonPackage, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy
{ lib, fetchurl, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, dbus_tools, isPyPy
, ncurses, pygobject3 }:
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else buildPythonPackage rec {
@@ -15,7 +15,7 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
postPatch = "patchShebangs .";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus dbus_glib ]
buildInputs = [ dbus dbus-glib ]
++ lib.optionals doCheck [ dbus_tools pygobject3 ]
# My guess why it's sometimes trying to -lncurses.
# It seems not to retain the dependency anyway.

View File

@@ -1,14 +1,13 @@
{ stdenv, buildPythonPackage, fetchurl
{ stdenv, buildPythonPackage, fetchPypi
, six, requests, websocket_client
, ipaddress, backports_ssl_match_hostname, docker_pycreds
}:
buildPythonPackage rec {
version = "2.7.0";
pname = "docker";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/docker/${name}.tar.gz";
src = fetchPypi {
inherit pname version;
sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c";
};

View File

@@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, enum34 }:
buildPythonPackage rec {
pname = "enum-compat";
version = "0.0.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "14j1i963jic2vncbf9k5nq1vvv8pw2zsg7yvwhm7d9c6h7qyz74k";
};
propagatedBuildInputs = [ enum34 ];
meta = with lib; {
homepage = https://github.com/jstasiak/enum-compat;
description = "enum/enum34 compatibility package";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, enum34, pycodestyle, pytest, flake8, pylama }:
buildPythonPackage rec {
pname = "flake8-import-order";
version = "0.17";
src = fetchPypi {
inherit pname version;
sha256 = "60ea6674c77e4d916071beabf2b31b9b45e2f5b3bbda48a34db65766a5b25678";
};
propagatedBuildInputs = [ pycodestyle ] ++ lib.optional (!isPy3k) enum34;
checkInputs = [ pytest flake8 pycodestyle pylama ];
checkPhase = ''
pytest --strict
'';
meta = with lib; {
description = "Flake8 and pylama plugin that checks the ordering of import statements";
homepage = https://github.com/PyCQA/flake8-import-order;
license = with licenses; [ lgpl3 mit ];
};
}

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchurl, flask, webassets, flask_script, nose }:
buildPythonPackage rec {
name = "Flask-Assets-${version}";
version = "0.12";
src = fetchurl {
url = "mirror://pypi/F/Flask-Assets/${name}.tar.gz";
sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
};
propagatedBuildInputs = [ flask webassets flask_script nose ];
meta = with lib; {
homepage = http://github.com/miracle2k/flask-assets;
description = "Asset management for Flask, to compress and merge CSS and Javascript files";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -1,19 +1,19 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast
, flask, nose, mock, blinker}:
, flask, blinker, nose, mock, semantic-version }:
buildPythonPackage rec {
pname = "Flask-Login";
name = "${pname}-${version}";
version = "0.4.0";
version = "0.4.1";
src = fetchFromGitHub {
owner = "maxcountryman";
repo = "flask-login";
rev = version;
sha256 = "0sjbmk8m4mmd9g99n6c6lx9nv2jwwqp6qsqhl945w2m0f1sknwdh";
sha256 = "1rj0qwyxapxnp84fi4lhmvh3d91fdiwz7hibw77x3d5i72knqaa9";
};
buildInputs = [ nose mock ];
checkInputs = [ nose mock semantic-version ];
propagatedBuildInputs = [ flask blinker ];
checkPhase = "nosetests -d";

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchurl, flask, blinker, nose }:
buildPythonPackage rec {
name = "Flask-Principal-${version}";
version = "0.4.0";
src = fetchurl {
url = "mirror://pypi/F/Flask-Principal/${name}.tar.gz";
sha256 = "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm";
};
propagatedBuildInputs = [ flask blinker ];
checkInputs = [ nose ];
meta = with lib; {
homepage = http://packages.python.org/Flask-Principal/;
description = "Identity management for flask";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchurl, flask, pytest }:
buildPythonPackage rec {
name = "Flask-Script-${version}";
version = "2.0.6";
src = fetchurl {
url = "mirror://pypi/F/Flask-Script/${name}.tar.gz";
sha256 = "0zqh2yq8zk7m9b4xw1ryqmrljkdigfb3hk5155a3b5hkfnn6xxyf";
};
propagatedBuildInputs = [ flask ];
checkInputs = [ pytest ];
meta = with lib; {
homepage = http://github.com/smurfix/flask-script;
description = "Scripting support for Flask";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Hidden Markov Models in Python with scikit-learn like API";
homepage = "https://github.com/hmmlearn/hmmlearn";
homepage = https://github.com/hmmlearn/hmmlearn;
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.unix;

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, jsonrpc-base }:
buildPythonPackage rec {
pname = "jsonrpc-async";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "0f1p3qv56jn4sdyp8gzf915nya6vr0rn2pbzld9x23y9jdjmibzw";
};
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
meta = with stdenv.lib; {
description = "A JSON-RPC client library for asyncio";
homepage = http://github.com/armills/jsonrpc-async;
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "jsonrpc-base";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1dl55n54ha5kf4x6hap2p1k3s4qa4w7g791wp2656rjg2zxfgywk";
};
propagatedBuildInputs = [ ];
meta = with stdenv.lib; {
description = "A JSON-RPC client library base interface";
homepage = https://github.com/armills/jsonrpc-base;
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, jsonrpc-base }:
buildPythonPackage rec {
pname = "jsonrpc-websocket";
version = "0.5";
src = fetchPypi {
inherit pname version;
sha256 = "0cijqb8fvv9iq5ds9y5sj0gd6lapi90mgqvpkczp28fxz440ihq4";
};
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
meta = with stdenv.lib; {
description = "A JSON-RPC websocket client library for asyncio";
homepage = https://github.com/armills/jsonrpc-websocket;
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -0,0 +1,42 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, scp
, pyserial
, paramiko
, netaddr
, ncclient
, lxml
, jinja2
, pyyaml
, nose
}:
buildPythonPackage rec {
pname = "junos-eznc";
version = "2.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "95a037cdd05618a189517357e46a06886909a18c7923b628c6ac43d5f54b2912";
};
checkInputs = [ nose ];
propagatedBuildInputs = [
scp six pyserial paramiko netaddr ncclient lxml jinja2 pyyaml
];
checkPhase = ''
nosetests -v --with-coverage --cover-package=jnpr.junos --cover-inclusive -a unit
'';
meta = with stdenv.lib; {
homepage = http://www.github.com/Juniper/py-junos-eznc;
description = "Junos 'EZ' automation for non-programmers";
license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ];
};
}

View File

@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, jupyterhub
, ldap3
, fetchPypi
}:
buildPythonPackage rec {
pname = "jupyterhub-ldapauthenticator";
version = "1.1";
src = fetchPypi {
inherit pname version;
sha256 = "19dz3a3122wln8lkixj5jbh9x3cqlrcb3p7a53825cj72cmpcxwz";
};
# No tests implemented
doCheck = false;
propagatedBuildInputs = [ jupyterhub ldap3 ];
meta = with lib; {
description = "Simple LDAP Authenticator Plugin for JupyterHub";
homepage = https://github.com/jupyterhub/ldapauthenticator;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}

View File

@@ -0,0 +1,38 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast,
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google_auth,
isort, pytest, coverage, mock, sphinx, autopep8, pep8, codecov, recommonmark, nose }:
buildPythonPackage rec {
pname = "kubernetes";
version = "5.0.0";
prePatch = ''
sed -e 's/sphinx>=1.2.1,!=1.3b1,<1.4 # BSD/sphinx/' -i test-requirements.txt
# This is used to randomize tests, which is not reproducible. Drop it.
sed -e '/randomize/d' -i test-requirements.txt
''
# This is a python2 and python3.2 only requiremet since it is a backport of a python-3.3 api.
+ (if (pythonAtLeast "3.3") then ''
sed -e '/ipaddress/d' -i requirements.txt
'' else "");
checkPhase = ''
py.test
'';
src = fetchPypi {
inherit pname version;
sha256 = "1z8rrlq73bzli9rg57kj8ivz09vhsydyjq1ksbcis6j7h9c187zq";
};
checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google_auth ];
meta = with stdenv.lib; {
description = "Kubernetes python client";
homepage = https://github.com/kubernetes-client/python;
license = licenses.asl20;
maintainers = with maintainers; [ lsix ];
};
}

View File

@@ -7,13 +7,13 @@ else
stdenv.mkDerivation rec {
pname = "libarcus";
name = "${pname}-${version}";
version = "3.0.3";
version = "3.2.1";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "05dpd6nx32nws0ghsm365wlsb8hg2s3v9fqcmdk11biwfhnr6rjw";
sha256 = "0mln8myvfl7rq2p4g1vadvlykckd8490jijag4xa5hhj3w3p19bk";
};
propagatedBuildInputs = [ sip protobuf ];

View File

@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "libgpuarray";
version = "0.6.9";
version = "0.7.5";
name = pname + "-" + version;
src = fetchFromGitHub {
owner = "Theano";
repo = "libgpuarray";
rev = "v${version}";
sha256 = "06z47ls42a37gbv0x7f3l1qvils7q0hvy02s95l530klgibp19s0";
sha256 = "0zkdwjq3k6ciiyf8y5w663fbsnmzhgy27yvpxfhkpxazw9vg3l5v";
};
# requires a GPU
@@ -40,7 +40,6 @@ buildPythonPackage rec {
make -j$NIX_BUILD_CORES
make install
ls $out/lib
export NIX_CFLAGS_COMPILE="-L $out/lib -I $out/include $NIX_CFLAGS_COMPILE"
cd ..

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, twisted, mock }:
buildPythonPackage rec {
pname = "magic-wormhole-transit-relay";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "faac36266c72745102a1a8b93abc5b25feed1be5bca7b29968a156966c312567";
};
propagatedBuildInputs = [ twisted ];
checkInputs = [ mock ];
checkPhase = ''
python -m twisted.trial wormhole_transit_relay
'';
meta = with lib; {
description = "Transit Relay server for Magic-Wormhole";
homepage = https://github.com/warner/magic-wormhole-transit-relay;
license = licenses.mit;
};
}

View File

@@ -2,41 +2,49 @@
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, nettools
, glibcLocales
, autobahn
, cffi
, click
, hkdf
, pynacl
, spake2
, tqdm
, python
, mock
, ipaddress
, spake2
, pynacl
, six
, attrs
, twisted
, autobahn
, automat
, hkdf
, tqdm
, click
, humanize
, pyopenssl
, service-identity
, ipaddress
, txtorcon
, nettools
, glibc
, glibcLocales
, mock
, magic-wormhole-transit-relay
}:
buildPythonPackage rec {
pname = "magic-wormhole";
version = "0.10.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "9558ea1f3551e535deec3462cd5c8391cb32ebb12ecd8b40b36861dbee4917ee";
};
checkInputs = [ mock ];
checkInputs = [ mock magic-wormhole-transit-relay ];
buildInputs = [ nettools glibcLocales ];
propagatedBuildInputs = [ autobahn cffi click hkdf pynacl spake2 tqdm ipaddress humanize pyopenssl service-identity txtorcon ];
propagatedBuildInputs = [ spake2 pynacl six attrs twisted autobahn automat hkdf tqdm click humanize ipaddress txtorcon ];
postPatch = ''
sed -i -e "s|'ifconfig'|'${nettools}/bin/ifconfig'|" src/wormhole/ipaddrs.py
sed -i -e "s|if (os.path.dirname(os.path.abspath(wormhole))|if not os.path.abspath(wormhole).startswith('/nix/store') and (os.path.dirname(os.path.abspath(wormhole))|" src/wormhole/test/test_cli.py
# magic-wormhole will attempt to find all available locales by running
# 'locale -a'. If we're building on Linux, then this may result in us
# running the system's locale binary instead of the one from Nix, so let's
# ensure we patch this.
sed -i -e 's|getProcessOutputAndValue("locale"|getProcessOutputAndValue("${glibc}/bin/locale"|' src/wormhole/test/test_cli.py
'' + lib.optionalString (pythonAtLeast "3.3") ''
sed -i -e 's|"ipaddress",||' setup.py
'';

View File

@@ -1,12 +1,9 @@
{ lib
, buildPythonPackage
, pythonOlder
, isPy35
, isPy36
, fetchPypi
, hypothesis
, pytestcache
, pytestcov
, pytestflakes
, pytestpep8
, pytest
@@ -19,10 +16,9 @@ buildPythonPackage rec {
pname = "natsort";
version = "5.2.0";
buildInputs = [
checkInputs = [
hypothesis
pytestcache
pytestcov
pytestflakes
pytestpep8
pytest
@@ -41,7 +37,7 @@ buildPythonPackage rec {
# testing based on project's tox.ini
checkPhase = ''
pytest --doctest-modules natsort
pytest --flakes --pep8 --cov natsort --cov-report term-missing
pytest --flakes --pep8
'';
meta = {

View File

@@ -0,0 +1,41 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, lxml
, libxml2
, libxslt
, pytest
, nose
, rednose
}:
buildPythonPackage rec {
pname = "ncclient";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "fe6b9c16ed5f1b21f5591da74bfdd91a9bdf69eb4e918f1c06b3c8db307bd32b";
};
checkInputs = [ nose rednose ];
propagatedBuildInputs = [
paramiko lxml libxml2 libxslt
];
checkPhase = ''
nosetests test --rednose --verbosity=3 --with-coverage --cover-package ncclient
'';
#Unfortunately the test hangs at te end
doCheck = false;
meta = with stdenv.lib; {
homepage = http://ncclient.org/;
description = "Python library for NETCONF clients";
license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ];
};
}

View File

@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi
, docopt, netifaces }:
buildPythonPackage rec {
pname = "onkyo-eiscp";
version = "1.2.4";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0qb5w2g2cnckq7psh92g1w3gf76437x1vwfhwnd247wshs5h7hxj";
};
propagatedBuildInputs = [ docopt netifaces ];
meta = with stdenv.lib; {
description = "Control Onkyo receivers over ethernet";
homepage = https://github.com/miracle2k/onkyo-eiscp;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -22,6 +22,7 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
preCheck = ''
export LC_ALL="en_US.UTF-8"
sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
'';
meta = {
@@ -29,4 +30,4 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
homepage = https://pypi.python.org/pypi/pathlib2/;
license = with lib.licenses; [ mit ];
};
}
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "NumPy-based text/binary PLY file reader/writer for Python";
homepage = "https://github.com/dranjan/python-plyfile";
homepage = https://github.com/dranjan/python-plyfile;
maintainers = with maintainers; [ abbradar ];
};

View File

@@ -1,20 +0,0 @@
{ stdenv, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "protocol";
version = "20171226";
src = fetchFromGitHub {
owner = "luismartingarcia";
repo = "protocol";
rev = "d450da7d8a58595d8ef82f1d199a80411029fc7d";
sha256 = "1g31s2xx0bw8ak5ag1c6mv0p0b8bj5dp3lkk9mxaf2ndj1m1qdkw";
};
meta = with stdenv.lib; {
description = "An ASCII Header Generator for Network Protocols";
homepage = https://github.com/luismartingarcia/protocol;
license = licenses.gpl3;
maintainers = with maintainers; [ teto ];
};
}

View File

@@ -5,12 +5,12 @@
, requests, tox, unicorn, intervaltree, fetchpatch }:
buildPythonPackage rec {
version = "3.11.0";
version = "3.12.0";
pname = "pwntools";
src = fetchPypi {
inherit pname version;
sha256 = "609b3f0ba47c975f4dbedd3da2af4c5ca1b3a2aa13fb99240531b6a68edb87be";
sha256 = "09a7yhsyqxb4xf2r6mbn3p5zx1wp89lxq7lj34y4zbin6ns5929s";
};
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
@@ -18,10 +18,10 @@ buildPythonPackage rec {
disabled = isPy3k;
doCheck = false; # no setuptools tests for the package
# Can be removed when 3.12.0 is released
# Can be removed when 3.13.0 is released
patches = [
(fetchpatch {
url = "https://github.com/Gallopsled/pwntools/pull/1098.patch";
url = "https://github.com/Gallopsled/pwntools/commit/9859f54a21404174dd17efee02f91521a2dd09c5.patch";
sha256 = "0p0h87npn1mwsd8ciab7lg74bk3ahlk5r0mjbvx4jhihl2gjc3z2";
})
];

View File

@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, numpy
, six
, nose
, fetchPypi
}:
buildPythonPackage rec {
pname = "py_stringmatching";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0rjsx7iipn6svki21lmsza7b0dz9vkgmix696zryiv7gkhblqyb4";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ numpy six ];
meta = with lib; {
description = "A Python string matching library including string tokenizers and string similarity measures";
homepage = https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, at_spi2_core, pythonPackages }:
{ stdenv, fetchurl, pkgconfig, at-spi2-core, pythonPackages }:
stdenv.mkDerivation rec {
pname = "pyatspi";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
broken = true;
buildInputs = [
at_spi2_core
at-spi2-core
pkgconfig
pythonPackages.python
pythonPackages.pygobject3

View File

@@ -2,19 +2,19 @@
buildPythonPackage rec {
pname = "PyChromecast";
version = "1.0.3";
version = "2.0.0";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
sha256 = "714a9e03e6a258081e3b6296ed15592e015facbe38bbe60819cca6f04c599f25";
sha256 = "1cp1ssfb8zk4sz74nsnf72b7dd5fzkwc4qdgc7rq8nfr4v611w6c";
};
propagatedBuildInputs = [ requests six zeroconf protobuf ];
meta = with lib; {
description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
homepage = "https://github.com/balloob/pychromecast";
homepage = https://github.com/balloob/pychromecast;
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;

View File

@@ -1,20 +1,30 @@
{ stdenv, buildPythonPackage, fetchPypi, snowballstemmer, configparser,
pytest, pytestpep8, mock, pathlib }:
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
, snowballstemmer, six, configparser
, pytest, pytestpep8, mock, pathlib }:
buildPythonPackage rec {
pname = "pydocstyle";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "15ssv8l6cvrmzgwcdzw76rnl4np3qf0dbwr1wsx76y0hc7lwsnsd";
# no tests on PyPI
# https://github.com/PyCQA/pydocstyle/issues/302
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = version;
sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l";
};
propagatedBuildInputs = [ snowballstemmer configparser ];
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
checkInputs = [ pytest pytestpep8 mock pathlib ];
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
meta = with stdenv.lib; {
checkPhase = ''
# test_integration.py installs packages via pip
py.test --pep8 --cache-clear -vv src/tests -k "not test_integration"
'';
meta = with lib; {
description = "Python docstring style checker";
homepage = https://github.com/PyCQA/pydocstyle/;
license = licenses.mit;

View File

@@ -1,6 +1,6 @@
{
stdenv, fetchurl,
automoc4, cmake_2_8, libxslt, perl, pkgconfig, shared_mime_info,
automoc4, cmake_2_8, libxslt, perl, pkgconfig, shared-mime-info,
attica, docbook_xml_dtd_42, docbook_xsl, giflib,
libdbusmenu_qt, libjpeg, phonon, qt4
}:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [
automoc4 cmake_2_8 libxslt perl pkgconfig shared_mime_info
automoc4 cmake_2_8 libxslt perl pkgconfig shared-mime-info
];
buildInputs = [
attica giflib libdbusmenu_qt libjpeg

View File

@@ -0,0 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, mccabe, pycodestyle, pydocstyle, pyflakes
, pytest, ipdb }:
buildPythonPackage rec {
pname = "pylama";
version = "7.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "390c1dab1daebdf3d6acc923e551b035c3faa77d8b96b98530c230493f9ec712";
};
patches = fetchpatch {
url = "${meta.homepage}/pull/116.patch";
sha256 = "00jz5k2w0xahs1m3s603j6l4cwzz92qsbbk81fh17nq0f47999mv";
};
propagatedBuildInputs = [ mccabe pycodestyle pydocstyle pyflakes ];
checkInputs = [ pytest ipdb ];
# tries to mess with the file system
doCheck = false;
meta = with lib; {
description = "Code audit tool for python";
homepage = https://github.com/klen/pylama;
# ambiguous license declarations: https://github.com/klen/pylama/issues/64
license = licenses.lgpl3;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -13,7 +13,7 @@ buildPythonPackage rec {
buildInputs = [ pytest pytestrunner mccabe configparser backports_functools_lru_cache ];
propagatedBuildInputs = [ astroid configparser isort ];
propagatedBuildInputs = [ astroid configparser isort mccabe ];
postPatch = ''
# Remove broken darwin tests

View File

@@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "pylru-${version}";
version = "1.0.9";
src = fetchurl {
url = "mirror://pypi/p/pylru/${name}.tar.gz";
sha256 = "0b0pq0l7xv83dfsajsc49jcxzc99kb9jfx1a1dlx22hzcy962dvi";
};
meta = with lib; {
homepage = https://github.com/jlhutch/pylru;
description = "A least recently used (LRU) cache implementation";
license = licenses.gpl2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
buildPythonPackage rec {
pname = "pymetar";
version = "0.21";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1sh3nm5ilnsgpnzbb2wv4xndnizjayw859qp72798jadqpcph69k";
};
meta = with stdenv.lib; {
description = "A command-line tool to show the weather report by a given station ID";
homepage = http://www.schwarzvogel.de/software/pymetar.html;
license = licenses.gpl2;
maintainers = with maintainers; [ erosennin ];
};
}

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchurl, pydns }:
buildPythonPackage rec {
name = "pyspf-${version}";
version = "2.0.12";
src = fetchurl {
url = "mirror://sourceforge/pymilter/pyspf/${name}/${name}.tar.gz";
sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
};
propagatedBuildInputs = [ pydns ];
meta = with lib; {
homepage = http://bmsi.com/python/milter.html;
description = "Python API for Sendmail Milters (SPF)";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl2;
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytest-mock";
version = "1.7.0";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "8ed6c9ac6b7565b226b4da2da48876c9198d76401ec8d9c5e4c69b45423e33f8";
sha256 = "0jgr1h1f0m9dl3alxiiw55as28pj2lpihz12gird9z1i3vvdyydq";
};
propagatedBuildInputs = [ pytest ] ++ lib.optional (!isPy3k) mock;

View File

@@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "python-axolotl-curve25519-${version}";
version = "0.1";
src = fetchurl {
url = "mirror://pypi/p/python-axolotl-curve25519/${name}.tar.gz";
sha256 = "1h1rsdr7m8lvgxwrwng7qv0xxmyc9k0q7g9nbcr6ks2ipyjzcnf5";
};
meta = with lib; {
homepage = https://github.com/tgalal/python-axolotl-curve25519;
description = "Curve25519 with ed25519 signatures";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3;
};
}

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchurl, python-axolotl-curve25519, protobuf, pycrypto }:
buildPythonPackage rec {
name = "python-axolotl-${version}";
version = "0.1.39";
src = fetchurl {
url = "mirror://pypi/p/python-axolotl/${name}.tar.gz";
sha256 = "09bf5gfip9x2wr0ij43p39ac6z2iqzn7kgpi2jjbwpnhs0vwkycs";
};
propagatedBuildInputs = [ python-axolotl-curve25519 protobuf pycrypto ];
# IV == 0 in tests is not supported by pycryptodome (our pycrypto drop-in)
doCheck = false;
meta = with lib; {
homepage = https://github.com/tgalal/python-axolotl;
description = "Python port of libaxolotl-android";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3;
};
}

View File

@@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "python-ptrace";
version = "0.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "019jlpya2d2b3vbg037hnj4z0f564r7ibygayda7bm7qbpw0sa4g";
};
# requires distorm, which is optionally
doCheck = false;
meta = with stdenv.lib; {
description = "Python binding of ptrace library";
homepage = https://github.com/vstinner/python-ptrace;
license = licenses.gpl2;
maintainers = with maintainers; [ mic92 ];
};
}

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
version = "2.13";
src = fetchPypi {
inherit pname version;
sha256 = "1dhbfzv5a29v763m0b9wsc4pvkdr979w7g4rz7ak8hsi4sx6b9dq";
};
propagatedBuildInputs = [ requests ];
meta = with stdenv.lib; {
description = "API towards Ubiquity Networks UniFi controller";
homepage = https://github.com/finish06/unifi-api;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -15,9 +15,9 @@ buildPythonPackage rec {
meta = {
description = "Alternative regular expression module, to replace re";
homepage = "https://bitbucket.org/mrabarnett/mrab-regex";
homepage = https://bitbucket.org/mrabarnett/mrab-regex;
license = lib.licenses.psfl;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ abbradar ];
};
}
}

View File

@@ -3,7 +3,6 @@
, pytest }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "requests";
version = "2.18.4";

View File

@@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "sarge-${version}";
version = "0.1.4";
src = fetchurl {
url = "mirror://pypi/s/sarge/${name}.tar.gz";
sha256 = "08s8896973bz1gg0pkr592w6g4p6v47bkfvws5i91p9xf8b35yar";
};
meta = with lib; {
homepage = http://sarge.readthedocs.org/;
description = "A wrapper for subprocess which provides command pipeline functionality";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "scandir-${version}";
version = "1.7";
src = fetchurl {
url = "mirror://pypi/s/scandir/${name}.tar.gz";
sha256 ="0gbnhjzg42rj87ljv9kb648rfxph69ly3c8r9841dxy4d7l5pmdj";
};
meta = with lib; {
description = "A better directory iterator and faster os.walk()";
homepage = https://github.com/benhoyt/scandir;
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,34 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, python
}:
buildPythonPackage rec {
pname = "scp";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "18f59e48df67fac0b069591609a0f4d50d781a101ddb8ec705f0c2e3501a8386";
};
propagatedBuildInputs = [
paramiko
];
checkPhase = ''
SCPPY_PORT=10022 ${python.interpreter} test.py
'';
#The Pypi package doesn't include the test
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/jbardin/scp.py;
description = "SCP module for paramiko";
license = licenses.lgpl3;
maintainers = with maintainers; [ xnaveira ];
};
}

View File

@@ -3,7 +3,6 @@
buildPythonPackage rec {
pname = "semantic_version";
version = "2.6.0";
name = "${pname}${version}";
src = fetchPypi {
inherit pname version;

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchurl, tornado }:
buildPythonPackage rec {
name = "sockjs-tornado-${version}";
version = "1.0.3";
src = fetchurl {
url = "mirror://pypi/s/sockjs-tornado/${name}.tar.gz";
sha256 = "16cff40nniqsyvda1pb2j3b4zwmrw7y2g1vqq78lp20xpmhnwwkd";
};
propagatedBuildInputs = [ tornado ];
meta = with lib; {
homepage = http://github.com/mrjoes/sockjs-tornado/;
description = "SockJS python server implementation on top of Tornado framework";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, hkdf, pytest }:
buildPythonPackage rec {
pname = "spake2";
version = "0.8";
src = fetchPypi {
inherit pname version;
sha256 = "c17a614b29ee4126206e22181f70a406c618d3c6c62ca6d6779bce95e9c926f4";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ hkdf ];
checkPhase = ''
py.test $out
'';
meta = with lib; {
description = "SPAKE2 password-authenticated key exchange library";
homepage = "http://github.com/warner/python-spake2";
license = licenses.mit;
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Numpy-based NIST SPH audio-file reader";
homepage = "https://github.com/mcfletch/sphfile";
homepage = https://github.com/mcfletch/sphfile;
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.unix;

View File

@@ -7,7 +7,6 @@
buildPythonPackage rec {
version = "0.8.2";
pname = "tabulate";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
@@ -25,4 +24,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
};
}
}

View File

@@ -3,8 +3,9 @@
, which, swig, binutils, glibcLocales
, python, jemalloc, openmpi
, numpy, six, protobuf, tensorflow-tensorboard, backports_weakref, mock, enum34, absl-py
, xlaSupport ? true
, cudaSupport ? false, nvidia_x11 ? null, cudatoolkit ? null, cudnn ? null
# XLA without CUDA is broken
, xlaSupport ? cudaSupport
# Default from ./configure script
, cudaCapabilities ? [ "3.5" "5.2" ]
, sse42Support ? false
@@ -145,9 +146,10 @@ in buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Computation using data flow graphs for scalable machine learning";
homepage = "http://tensorflow.org";
homepage = http://tensorflow.org;
license = licenses.asl20;
maintainers = with maintainers; [ jyp abbradar ];
platforms = with platforms; if cudaSupport then linux else linux ++ darwin;
broken = !(xlaSupport -> cudaSupport);
};
}

View File

@@ -5,7 +5,7 @@ then throw "Uranium not supported for interpreter ${python.executable}"
else
stdenv.mkDerivation rec {
version = "3.1.0";
version = "3.2.1";
pname = "uranium";
name = "${pname}-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "1wz2nk973g8227r9v6j7gry3m0b0ikirkws8sfhysvgj0vgak9yk";
sha256 = "1p05iw1x3rvb51p6hj57yq6nsjawjba3pyyr4jx924iq96vcc3fz";
};
buildInputs = [ python gettext ];
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A Python framework for building Desktop applications";
homepage = "https://github.com/Ultimaker/Uranium";
homepage = https://github.com/Ultimaker/Uranium;
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];

View File

@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchurl, pkgconfig, gtk2, libX11, libXtst, libXi, libxkbfile, xextproto, xproto }:
buildPythonPackage rec {
name = "virtkey-${version}";
majorVersion = "0.63";
version = "${majorVersion}.0";
src = fetchurl {
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xextproto xproto ];
meta = with lib; {
description = "Extension to emulate keypresses and to get the layout information from the X server";
homepage = https://launchpad.net/virtkey;
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,18 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "wakeonlan";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1snkyc6ph0bnypqs5yjw35mx3f9ij4808r5i06gl2vhn1rfzgyh1";
};
meta = with stdenv.lib; {
description = "A small python module for wake on lan";
homepage = https://github.com/remcohaszing/pywakeonlan;
license = licenses.wtfpl;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchurl, pyyaml, nose, jinja2, mock, pytest }:
buildPythonPackage rec {
name = "webassets-${version}";
version = "0.12.1";
src = fetchurl {
url = "mirror://pypi/w/webassets/${name}.tar.gz";
sha256 = "1nrqkpb7z46h2b77xafxihqv3322cwqv6293ngaky4j3ff4cing7";
};
propagatedBuildInputs = [ pyyaml ];
checkInputs = [ nose jinja2 mock pytest ];
# Needs Babel CLI tool
doCheck = false;
checkPhase = "py.test";
meta = with lib; {
description = "Media asset management for Python, with glue code for various web frameworks";
homepage = http://github.com/miracle2k/webassets/;
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "websocket_client";
version = "0.47.0";
src = fetchPypi {
inherit version pname;
sha256 = "0jb1446053ryp5p25wsr1hjfdzwfm04a6f3pzpcb63bfz96xqlx4";
};
prePatch = ''
# ssl.match_hostname exists in python2.7 version maintained in nixpkgs,
# the dependency is not necessary.
sed -e "s/\['backports.ssl_match_hostname'\]/\[\]/" -i setup.py
'';
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
homepage = https://github.com/liris/websocket-client;
description = "Websocket client for python";
license = licenses.lgpl2;
};
}

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchPypi
}:
buildPythonPackage rec {
pname = "XStatic-Bootbox";
version = "4.3.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "0wks1lsqngn3gvlhzrvaan1zj8w4wr58xi0pfqhrzckbghvvr0gj";
};
# no tests implemented
doCheck = false;
meta = with lib;{
homepage = http://bootboxjs.com;
description = "Bootboxjs packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchPypi
}:
buildPythonPackage rec {
pname = "XStatic-Bootstrap";
version = "3.3.5.1";
src = fetchPypi {
inherit version pname;
sha256 = "0jzjq3d4vp2shd2n20f9y53jnnk1cvphkj1v0awgrf18qsy2bmin";
};
# no tests implemented
doCheck = false;
meta = with lib;{
homepage = http://getbootstrap.com;
description = "Bootstrap packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,28 @@
{ buildPythonPackage
, lib
, fetchPypi
, xstatic-jquery
}:
buildPythonPackage rec {
pname = "XStatic-jQuery-File-Upload";
version = "9.7.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "0d5za18lhzhb54baxq8z73wazq801n3qfj5vgcz7ri3ngx7nb0cg";
};
# no tests implemented
doCheck = false;
propagatedBuildInputs = [ xstatic-jquery ];
meta = with lib;{
homepage = http://plugins.jquery.com/project/jQuery-File-Upload;
description = "jquery-file-upload packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,28 @@
{ buildPythonPackage
, lib
, fetchPypi
, xstatic-jquery
}:
buildPythonPackage rec {
pname = "XStatic-jquery-ui";
version = "1.12.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "0w7mabv6qflpd47g33j3ggp5rv17mqk0xz3bsdswcj97wqpga2l2";
};
# no tests implemented
doCheck = false;
propagatedBuildInputs = [ xstatic-jquery ];
meta = with lib;{
homepage = http://jqueryui.com/;
description = "jquery-ui packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchPypi
}:
buildPythonPackage rec {
pname = "XStatic-jQuery";
version = "1.10.2.1";
src = fetchPypi {
inherit version pname;
sha256 = "018kx4zijflcq8081xx6kmiqf748bsjdq7adij2k91bfp1mnlhc3";
};
# no tests implemented
doCheck = false;
meta = with lib;{
homepage = http://jquery.org;
description = "jquery packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchPypi
}:
buildPythonPackage rec {
pname = "XStatic-Pygments";
version = "1.6.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "0fjqgg433wfdnswn7fad1g6k2x6mf24wfnay2j82j0fwgkdxrr7m";
};
# no tests implemented
doCheck = false;
meta = with lib;{
homepage = http://pygments.org;
description = "pygments packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@@ -0,0 +1,25 @@
{ buildPythonPackage
, lib
, fetchPypi
}:
buildPythonPackage rec {
pname = "XStatic";
version = "1.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "09npcsyf1ccygjs0qc8kdsv4qqy8gm1m6iv63g9y1fgbcry3vj8f";
};
# no tests implemented
doCheck = false;
meta = with lib;{
homepage = https://bitbucket.org/thomaswaldmann/xstatic;
description = "Base packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}