blob: 1e9106e3ed535a47f56d327103a8ea441ac00c4a (
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
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
dahlia,
ixia,
}:
buildPythonPackage (finalAttrs: {
pname = "oddsprout";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "trag1c";
repo = "oddsprout";
tag = "v${finalAttrs.version}";
hash = "sha256-RfAU3/Je3aC8JjQ51DqRCSAIfW2tQmQPP6G0/bfa1ZE=";
};
build-system = [ hatchling ];
dependencies = [
dahlia
ixia
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "oddsprout" ];
meta = {
changelog = "https://github.com/trag1c/oddsprout/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Generate random JSON with no schemas involved";
license = lib.licenses.mit;
homepage = "https://trag1c.github.io/oddsprout";
maintainers = with lib.maintainers; [
itepastra
sigmanificient
];
mainProgram = "oddsprout";
};
})
|