depot/third_party/nixpkgs/pkgs/development/python-modules/dataset/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

35 lines
667 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sqlalchemy
, alembic
, banal
}:
buildPythonPackage rec {
pname = "dataset";
version = "1.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-TDZ6fAqFxOdI79o07uMAw/zD8HbHXDKQt0mnoFM1yEc=";
};
propagatedBuildInputs = [
sqlalchemy alembic banal
];
# 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 = [ maintainers.xfnw ];
};
}