2019-08-09 03:56:53 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
2017-05-27 14:05:39 +02:00
|
|
|
, mock
|
|
|
|
, pysqlite
|
2019-08-09 03:56:53 +02:00
|
|
|
, pytest
|
|
|
|
, pytest_xdist
|
2017-05-27 14:05:39 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "SQLAlchemy";
|
2019-08-09 03:56:53 +02:00
|
|
|
version = "1.3.6";
|
2017-05-27 14:05:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-09 03:56:53 +02:00
|
|
|
sha256 = "1zxhabcgzspwrh9l7b68p57kqx4h664a1dp9xr8mi84r472pyzi1";
|
2017-05-27 14:05:39 +02:00
|
|
|
};
|
|
|
|
|
2017-08-25 19:03:41 +02:00
|
|
|
checkInputs = [
|
2018-01-20 12:26:26 +01:00
|
|
|
pytest
|
2017-08-25 19:03:41 +02:00
|
|
|
mock
|
2019-08-09 03:56:53 +02:00
|
|
|
pytest_xdist
|
2017-08-25 19:03:41 +02:00
|
|
|
] ++ lib.optional (!isPy3k) pysqlite;
|
2017-05-27 14:05:39 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = http://www.sqlalchemy.org/;
|
|
|
|
description = "A Python SQL toolkit and Object Relational Mapper";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-11-06 06:19:19 +01:00
|
|
|
}
|