8 buildPythonPackage rec {
11 format = "setuptools";
13 # N.B. pypi src tarball does not have tests
14 src = fetchFromGitHub {
18 sha256 = "1jc7j790rcqnhbrfj4lhnz3f6768dc55aij840wmx16jylfqpc2n";
21 nativeBuildInputs = [ makeWrapper ];
23 pythonImportsCheck = [ "hjson" ];
27 wrapProgram $out/bin/hjson \
28 --set PYTHONPATH "$PYTHONPATH" \
29 --prefix PATH : ${lib.makeBinPath [ python ]}
33 description = "A user interface for JSON";
34 mainProgram = "hjson";
35 homepage = "https://github.com/hjson/hjson-py";
36 license = licenses.mit;
37 maintainers = with maintainers; [ bhipple ];