nixpkgs/pkgs/development/python-modules/dataset/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
751 B
Nix
Raw Normal View History

2021-06-01 00:19:54 +00:00
{ lib
, alembic
, banal
2021-06-01 00:19:54 +00:00
, buildPythonPackage
, fetchPypi
, pythonOlder
2021-06-01 00:19:54 +00:00
, sqlalchemy
}:
buildPythonPackage rec {
pname = "dataset";
version = "1.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-06-01 00:19:54 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-fNvJBdZjtYKvhGzwULfP2iDNUrqhxiwRlhlFrHfmGdU=";
2021-06-01 00:19:54 +00:00
};
propagatedBuildInputs = [
alembic
banal
sqlalchemy
2021-06-01 00:19:54 +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;
maintainers = with maintainers; [ xfnw ];
2021-06-01 00:19:54 +00:00
};
}