blob: 5d2e002538c2b1bbc416a4880d628b2e90647bf8 (
plain) (
blame)
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
46
47
48
49
50
51
52
53
54
|
{ lib
, buildPythonPackage
, fetchFromGitHub
# build deps
, poetry-core
# propagates
, cbor2
, python-dateutil
, pyyaml
, tomlkit
, u-msgpack-python
# tested using
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "remarshal";
version = "0.17.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "dbohdan";
repo = pname;
rev = "v${version}";
hash = "sha256-FytVq9p7Yo0lS5rHj0crPIpHFjxolW8esSPkj2wLfaI=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
cbor2
python-dateutil
pyyaml
tomlkit
u-msgpack-python
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/remarshal-project/remarshal/releases/tag/v${version}";
description = "Convert between TOML, YAML and JSON";
license = licenses.mit;
homepage = "https://github.com/dbohdan/remarshal";
maintainers = with maintainers; [ offline ];
};
}
|