depot/third_party/nixpkgs/pkgs/development/python-modules/jstyleson/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
756 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jstyleson";
version = "0.0.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "linjackson78";
repo = "jstyleson";
# https://github.com/linjackson78/jstyleson/issues/6
rev = "544b9fdb43339cdd15dd03dc69a6d0f36dd73241";
hash = "sha256-s/0DDfy+07TuUNjHPqKRT3xMMQl6spZCacB7Dweof7A=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "jstyleson" ];
meta = with lib; {
description = "A python library to parse JSON with js-style comments";
homepage = "https://github.com/linjackson78/jstyleson";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}