Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / remarshal / default.nix
blob32916774ee36f2c28bdb63187ea2bd1f34d82b2d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build deps
6 , poetry-core
8 # propagates
9 , cbor2
10 , python-dateutil
11 , pyyaml
12 , tomlkit
13 , u-msgpack-python
15 # tested using
16 , pytestCheckHook
19 buildPythonPackage rec {
20   pname = "remarshal";
21   version = "0.17.1";
22   format = "pyproject";
24   src = fetchFromGitHub {
25     owner = "dbohdan";
26     repo = pname;
27     rev = "refs/tags/v${version}";
28     hash = "sha256-2WxMh5P/8NvElymnMU3JzQU0P4DMXFF6j15OxLaS+VA=";
29   };
31   nativeBuildInputs = [
32     poetry-core
33   ];
35   propagatedBuildInputs = [
36     cbor2
37     python-dateutil
38     pyyaml
39     tomlkit
40     u-msgpack-python
41   ];
43   nativeCheckInputs = [
44     pytestCheckHook
45   ];
47   meta = with lib; {
48     changelog = "https://github.com/remarshal-project/remarshal/releases/tag/v${version}";
49     description = "Convert between TOML, YAML and JSON";
50     license = licenses.mit;
51     homepage = "https://github.com/dbohdan/remarshal";
52     maintainers = with maintainers; [ offline ];
53   };