Merge pull request #125144 from xfnw/master

python3Packages.dataset: init at 1.5.2
This commit is contained in:
legendofmiracles 2022-01-16 18:40:54 -06:00 committed by GitHub
commit 0fc18d692f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ 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 ];
};
}

View file

@ -1992,6 +1992,8 @@ in {
datamodeldict = callPackage ../development/python-modules/datamodeldict { }; datamodeldict = callPackage ../development/python-modules/datamodeldict { };
dataset = callPackage ../development/python-modules/dataset { };
datasets = callPackage ../development/python-modules/datasets { }; datasets = callPackage ../development/python-modules/datasets { };
datasette = callPackage ../development/python-modules/datasette { }; datasette = callPackage ../development/python-modules/datasette { };