Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / remarshal / default.nix
blob0d8829201afc28f90748c6a995666631bc23876c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonRelaxDepsHook
6 # build deps
7 , poetry-core
9 # propagates
10 , cbor2
11 , python-dateutil
12 , pyyaml
13 , tomlkit
14 , u-msgpack-python
16 # tested using
17 , pytestCheckHook
20 buildPythonPackage rec {
21   pname = "remarshal";
22   version = "0.17.1";
23   format = "pyproject";
25   src = fetchFromGitHub {
26     owner = "dbohdan";
27     repo = pname;
28     rev = "refs/tags/v${version}";
29     hash = "sha256-2WxMh5P/8NvElymnMU3JzQU0P4DMXFF6j15OxLaS+VA=";
30   };
32   nativeBuildInputs = [
33     poetry-core
34     pythonRelaxDepsHook
35   ];
37   pythonRelaxDeps = [
38     "pytest"
39   ];
41   propagatedBuildInputs = [
42     cbor2
43     python-dateutil
44     pyyaml
45     tomlkit
46     u-msgpack-python
47   ];
49   nativeCheckInputs = [
50     pytestCheckHook
51   ];
53   meta = with lib; {
54     changelog = "https://github.com/remarshal-project/remarshal/releases/tag/v${version}";
55     description = "Convert between TOML, YAML and JSON";
56     license = licenses.mit;
57     homepage = "https://github.com/dbohdan/remarshal";
58     maintainers = with maintainers; [ offline ];
59   };