Merge pull request #23038 from johbo/add-trytond-dependencies
Add trytond module dependencies
This commit is contained in:
commit
6ad3d089f1
6 changed files with 101 additions and 2 deletions
|
@ -0,0 +1,16 @@
|
|||
{ lib, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "flake8-blind-except-${version}";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-blind-except/${name}.tar.gz";
|
||||
sha256 = "16g58mkr3fcn2vlfhp3rlahj93qswc7jd5qrqp748mc26dk3b8xc";
|
||||
};
|
||||
meta = {
|
||||
homepage = https://github.com/elijahandrews/flake8-blind-except;
|
||||
description = "A flake8 extension that checks for blind except: statements";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
18
pkgs/development/python-modules/flake8-debugger/default.nix
Normal file
18
pkgs/development/python-modules/flake8-debugger/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, fetchurl, buildPythonPackage, flake8, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "flake8-debugger-${version}";
|
||||
version = "1.4.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-debugger/${name}.tar.gz";
|
||||
sha256 = "0chjfa6wvnqjnx778qzahhwvjx1j0rc8ax0ipp5bn70gf47lj62r";
|
||||
};
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ flake8 ];
|
||||
meta = {
|
||||
homepage = https://github.com/jbkahn/flake8-debugger;
|
||||
description = "ipdb/pdb statement checker plugin for flake8";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
18
pkgs/development/python-modules/python-stdnum/default.nix
Normal file
18
pkgs/development/python-modules/python-stdnum/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, fetchurl, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-stdnum-${version}";
|
||||
version = "1.5";
|
||||
# Failing tests and dependency issue on Py3k
|
||||
disabled = isPy3k;
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/python-stdnum/${name}.tar.gz";
|
||||
sha256 = "0zkkpjy4gc161dkyxjmingjw48glljlqqrl4fh2k5idf0frkvzhh";
|
||||
};
|
||||
meta = {
|
||||
homepage = "http://arthurdejong.org/python-stdnum/";
|
||||
description = "Python module to handle standardized numbers and codes";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
17
pkgs/development/python-modules/pywebdav/default.nix
Normal file
17
pkgs/development/python-modules/pywebdav/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ lib, fetchurl, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyWebDAV-${version}";
|
||||
version = "0.9.8";
|
||||
disabled = isPy3k;
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pywebdav/${name}.tar.gz";
|
||||
sha256 = "1v10vg79h85milnq8w7yd75qq5z6297ywkn9b2kxajldzwqxn3ji";
|
||||
};
|
||||
meta = {
|
||||
homepage = http://code.google.com/p/pywebdav/;
|
||||
description = "WebDAV library including a standalone server for python";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
16
pkgs/development/python-modules/simpleeval/default.nix
Normal file
16
pkgs/development/python-modules/simpleeval/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ lib, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "simpleeval-${version}";
|
||||
version = "0.9.5";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/simpleeval/${name}.tar.gz";
|
||||
sha256 = "0sda13bqg9l4j17iczmfanxbzsg6fm9aw8i3crzsjfxx51rwj1i3";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/danthedeckie/simpleeval";
|
||||
description = "A simple, safe single expression evaluator library";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
|
@ -336,6 +336,8 @@ in {
|
|||
|
||||
python-sql = callPackage ../development/python-modules/python-sql { };
|
||||
|
||||
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
|
||||
|
||||
pytimeparse = buildPythonPackage rec {
|
||||
pname = "pytimeparse";
|
||||
version = "1.1.6";
|
||||
|
@ -356,12 +358,16 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
PyWebDAV = callPackage ../development/python-modules/pywebdav { };
|
||||
|
||||
pyxml = if !isPy3k then callPackage ../development/python-modules/pyxml{ } else throw "pyxml not supported for interpreter ${python.executable}";
|
||||
|
||||
relatorio = callPackage ../development/python-modules/relatorio { };
|
||||
|
||||
rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}";
|
||||
|
||||
simpleeval = callPackage ../development/python-modules/simpleeval { };
|
||||
|
||||
sip = callPackage ../development/python-modules/sip { };
|
||||
|
||||
tables = callPackage ../development/python-modules/tables {
|
||||
|
@ -11333,6 +11339,10 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
flake8-blind-except = callPackage ../development/python-modules/flake8-blind-except { };
|
||||
|
||||
flake8-debugger = callPackage ../development/python-modules/flake8-debugger { };
|
||||
|
||||
flaky = buildPythonPackage rec {
|
||||
name = "flaky-${version}";
|
||||
version = "3.1.0";
|
||||
|
@ -22182,12 +22192,12 @@ in {
|
|||
requests_oauthlib = callPackage ../development/python-modules/requests-oauthlib.nix { };
|
||||
|
||||
requests_toolbelt = buildPythonPackage rec {
|
||||
version = "0.6.2";
|
||||
version = "0.7.1";
|
||||
name = "requests-toolbelt-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/sigmavirus24/requests-toolbelt/archive/${version}.tar.gz";
|
||||
sha256 = "0ds1b2qx0nx9bqj1sqgr4lmanb4hpchmylp1hml1l0p71qi5ha0r";
|
||||
sha256 = "16grklnbgcfwqj3f39gw7fc9afi7xlp9gm7x8w6mi81dzhdxf50y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests2 ];
|
||||
|
@ -27588,6 +27598,10 @@ EOF
|
|||
|
||||
propagatedBuildInputs = with self; [ zope_i18nmessageid zope_schema ];
|
||||
|
||||
# Trouble with implicit namespace packages on Python3
|
||||
# see https://github.com/pypa/setuptools/issues/912
|
||||
doCheck = !isPy3k;
|
||||
|
||||
meta = {
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue