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>
This commit is contained in:
Benjamin Hipple 2020-11-28 20:30:40 -05:00
parent cbe614e01b
commit f2a2694cad
2 changed files with 26 additions and 0 deletions

@ -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 ];
};
}

@ -2757,6 +2757,8 @@ in {
hiyapyco = callPackage ../development/python-modules/hiyapyco { };
hjson = callPackage ../development/python-modules/hjson { };
hkdf = callPackage ../development/python-modules/hkdf { };
hmmlearn = callPackage ../development/python-modules/hmmlearn { };