nixpkgs/pkgs/development/python-modules/hjson/default.nix
Benjamin Hipple f2a2694cad 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>
2020-11-28 20:42:15 -05:00

25 lines
545 B
Nix

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