nixpkgs-suyu/pkgs/development/python-modules/sqlalchemy/default.nix

29 lines
550 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, isPy3k
, mock
, pysqlite
, pytest
, pytest_xdist
}:
buildPythonPackage rec {
pname = "SQLAlchemy";
version = "1.3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1zxhabcgzspwrh9l7b68p57kqx4h664a1dp9xr8mi84r472pyzi1";
};
checkInputs = [
pytest
mock
pytest_xdist
] ++ lib.optional (!isPy3k) pysqlite;
meta = with lib; {
homepage = http://www.sqlalchemy.org/;
description = "A Python SQL toolkit and Object Relational Mapper";
license = licenses.mit;
};
}