pythonPackages.ColanderAlchemy: 0.3.3 -> 0.3.4

This commit is contained in:
Sandro Jäckel 2020-11-30 17:52:56 +01:00
parent ef116c9eac
commit 723c810ac3
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,6 +1,5 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchPypi , fetchPypi
, unittest2 , unittest2
, colander , colander
@ -9,30 +8,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ColanderAlchemy"; pname = "ColanderAlchemy";
version = "0.3.3"; version = "0.3.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; 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 ]; propagatedBuildInputs = [ colander sqlalchemy ];
# Tests are not included in Pypi
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Autogenerate Colander schemas based on SQLAlchemy models"; description = "Autogenerate Colander schemas based on SQLAlchemy models";
homepage = "https://github.com/stefanofontanelli/ColanderAlchemy"; homepage = "https://github.com/stefanofontanelli/ColanderAlchemy";
license = licenses.mit; 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;
}; };
} }