depot/third_party/nixpkgs/pkgs/development/python-modules/colanderalchemy/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
589 B
Nix

{ lib
, 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 lib; {
description = "Autogenerate Colander schemas based on SQLAlchemy models";
homepage = "https://github.com/stefanofontanelli/ColanderAlchemy";
license = licenses.mit;
};
}