mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
38 lines
679 B
Nix
38 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 ];
|
|
};
|
|
}
|
|
|