nixpkgs/pkgs/development/python-modules/jsonpath-rw/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

36 lines
725 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPyPy,
ply,
six,
decorator,
}:
buildPythonPackage rec {
pname = "jsonpath-rw";
version = "1.4.0";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec";
};
propagatedBuildInputs = [
ply
six
decorator
];
# ImportError: No module named tests
doCheck = false;
meta = with lib; {
homepage = "https://github.com/kennknowles/python-jsonpath-rw";
description = "Robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming";
mainProgram = "jsonpath.py";
license = licenses.asl20;
};
}