depot/third_party/nixpkgs/pkgs/development/python-modules/minidb/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

37 lines
679 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "minidb";
version = "2.0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "thp";
repo = "minidb";
rev = "refs/tags/${version}";
hash = "sha256-0f2usKoHs4NO/Ir8MhyiAVZFYnUkVH5avdh3QdHzY6s=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"minidb"
];
meta = with lib; {
description = "SQLite3-based store for Python objects";
homepage = "https://thp.io/2010/minidb/";
license = licenses.isc;
maintainers = with maintainers; [ tv ];
};
}