nixpkgs/pkgs/development/python-modules/jstyleson/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

32 lines
754 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 = "Python library to parse JSON with js-style comments";
homepage = "https://github.com/linjackson78/jstyleson";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}