Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
cbe614e
commit f2a2694
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters