mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 18:54:51 +00:00
https://github.com/pudo/dataset/releases/tag/2.0.0 Co-authored-by: Michael Daniels <mdaniels5757@gmail.com>
43 lines
743 B
Nix
43 lines
743 B
Nix
{
|
|
lib,
|
|
hatchling,
|
|
alembic,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
sqlalchemy,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dataset";
|
|
version = "2.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pudo";
|
|
repo = "dataset";
|
|
tag = version;
|
|
hash = "sha256-A8X1Gv+b+K90LAZ5YDjeUbl3Y1fiaFwGj6urapLN3AQ=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = [
|
|
alembic
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [ "dataset" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "Toolkit for Python-based database access";
|
|
homepage = "https://dataset.readthedocs.io";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ xfnw ];
|
|
};
|
|
}
|