diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2020-11-28 20:30:40 -0500 |
---|---|---|
committer | Benjamin Hipple <bhipple@protonmail.com> | 2020-11-28 20:42:15 -0500 |
commit | f2a2694cad2429c2d62b7bdd4c65432135374fbf (patch) | |
tree | 570ef060697e18ef73487028c4498793f7396a7a /pkgs/development/python-modules/hjson | |
parent | cbe614e01b2b49599418e110724b63e1db72d57b (diff) |
python3Packages.hjson: init at 3.0.2
This library provides a human readable extension to JSON and is used as a dependency in packages like [qmk](https://github.com/qmk/qmk_cli) Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/hjson')
-rw-r--r-- | pkgs/development/python-modules/hjson/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hjson/default.nix b/pkgs/development/python-modules/hjson/default.nix new file mode 100644 index 0000000000000..6a86a2000d2c7 --- /dev/null +++ b/pkgs/development/python-modules/hjson/default.nix @@ -0,0 +1,24 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "hjson"; + version = "3.0.2"; + + # N.B. pypi src tarball does not have tests + src = fetchFromGitHub { + owner = "hjson"; + repo = "hjson-py"; + rev = "v${version}"; + sha256 = "1jc7j790rcqnhbrfj4lhnz3f6768dc55aij840wmx16jylfqpc2n"; + }; + + meta = with stdenv.lib; { + description = "A user interface for JSON"; + homepage = "https://github.com/hjson/hjson-py"; + license = licenses.mit; + maintainers = with maintainers; [ bhipple ]; + }; +} |