mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
Merge pull request #105446 from r-ryantm/auto-update/python3.7-colander
This commit is contained in:
commit
9634966371
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colander";
|
||||
version = "1.8.2";
|
||||
version = "1.8.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "54878d2ffd1afb020daca6cd5c6cfe6c0e44d0069fc825d57fe59aa6e4f6a499";
|
||||
sha256 = "259592a0d6a89cbe63c0c5771f9c0c2522387415af8d715f599583eac659f7d4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ translationstring iso8601 enum34 ];
|
||||
|
@ -1,6 +1,5 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, unittest2
|
||||
, colander
|
||||
@ -9,30 +8,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ColanderAlchemy";
|
||||
version = "0.3.3";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "11wcni2xmfmy001rj62q2pwf305vvngkrfm5c4zlwvgbvlsrvnnw";
|
||||
sha256 = "006wcfch2skwvma9bq3l06dyjnz309pa75h1rviq7i4pd9g463bl";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/stefanofontanelli/ColanderAlchemy/commit/b45fe35f2936a5ccb705e9344075191e550af6c9.patch";
|
||||
sha256 = "1kf278wjq49zd6fhpp55vdcawzdd107767shzfck522sv8gr6qvx";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
propagatedBuildInputs = [ colander sqlalchemy ];
|
||||
|
||||
# Tests are not included in Pypi
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Autogenerate Colander schemas based on SQLAlchemy models";
|
||||
homepage = "https://github.com/stefanofontanelli/ColanderAlchemy";
|
||||
license = licenses.mit;
|
||||
# ColanderAlchemy's tests currently fail with colander >1.6.0
|
||||
# (see https://github.com/stefanofontanelli/ColanderAlchemy/issues/107)
|
||||
broken = versionOlder "1.6.0" colander.version;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user