51e09efdfc
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
28 lines
599 B
Nix
28 lines
599 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, unittest2
|
|
, colander
|
|
, sqlalchemy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ColanderAlchemy";
|
|
version = "0.3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "006wcfch2skwvma9bq3l06dyjnz309pa75h1rviq7i4pd9g463bl";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|