Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / jstyleson / default.nix
blob757a8ef8bf29a81da225a4051d4a311633a37a2d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "jstyleson";
9   version = "0.0.2";
11   src = fetchFromGitHub {
12     owner = "linjackson78";
13     repo = "jstyleson";
14     # https://github.com/linjackson78/jstyleson/issues/6
15     rev = "544b9fdb43339cdd15dd03dc69a6d0f36dd73241";
16     hash = "sha256-s/0DDfy+07TuUNjHPqKRT3xMMQl6spZCacB7Dweof7A=";
17   };
19   nativeCheckInputs = [
20     pytestCheckHook
21   ];
23   pythonImportsCheck = [ "jstyleson" ];
25   meta = with lib; {
26     description = "A python library to parse JSON with js-style comments";
27     homepage = "https://github.com/linjackson78/jstyleson";
28     license = licenses.mit;
29     maintainers = with maintainers; [ ambroisie ];
30   };