Skip to content

Commit

Permalink
python3Packages.hjson: init at 3.0.2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bhipple and SuperSandro2000 committed Nov 29, 2020
1 parent cbe614e commit f2a2694
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit f2a2694

Please sign in to comment.