2022-01-19 23:45:15 +00:00
|
|
|
{ lib
|
2022-04-27 09:35:20 +00:00
|
|
|
, alembic
|
|
|
|
, banal
|
2022-01-19 23:45:15 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-04-27 09:35:20 +00:00
|
|
|
, pythonOlder
|
2022-01-19 23:45:15 +00:00
|
|
|
, sqlalchemy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dataset";
|
|
|
|
version = "1.5.2";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
hash = "sha256-TDZ6fAqFxOdI79o07uMAw/zD8HbHXDKQt0mnoFM1yEc=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
alembic
|
|
|
|
banal
|
|
|
|
sqlalchemy
|
2022-01-19 23:45:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# checks attempt to import nonexistent module 'test.test' and fail
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dataset"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Toolkit for Python-based database access";
|
|
|
|
homepage = "https://dataset.readthedocs.io";
|
|
|
|
license = licenses.mit;
|
2022-04-27 09:35:20 +00:00
|
|
|
maintainers = with maintainers; [ xfnw ];
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
}
|