mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
42 lines
751 B
Nix
42 lines
751 B
Nix
{ lib
|
|
, alembic
|
|
, banal
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, sqlalchemy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dataset";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-fNvJBdZjtYKvhGzwULfP2iDNUrqhxiwRlhlFrHfmGdU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
alembic
|
|
banal
|
|
sqlalchemy
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|