blob: 8f4ccc1b1bc724f0b63a45228afe0a01a6cc08b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
tinydb,
}:
buildPythonPackage rec {
pname = "tinyrecord";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "eugene-eeo";
repo = "tinyrecord";
tag = "v${version}";
hash = "sha256-mF4hpHuNyiQ5DurRnyLck5e/Vp26GCLkhD8eeSB4NYs=";
};
nativeCheckInputs = [
pytestCheckHook
tinydb
];
enabledTestPaths = [ "tests.py" ];
pythonImportsCheck = [ "tinyrecord" ];
meta = {
description = "Transaction support for TinyDB";
homepage = "https://github.com/eugene-eeo/tinyrecord";
changelog = "https://github.com/eugene-eeo/tinyrecord/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nickcao ];
};
}
|