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

34 lines
725 B
Nix

{
stdenv,
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "jsonstreams";
version = "0.6.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "dcbaker";
repo = pname;
rev = version;
sha256 = "0qw74wz9ngz9wiv89vmilbifsbvgs457yn1bxnzhrh7g4vs2wcav";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests --doctest-modules jsonstreams" ];
meta = with lib; {
broken = stdenv.isDarwin;
description = "JSON streaming writer";
homepage = "https://github.com/dcbaker/jsonstreams";
license = licenses.mit;
maintainers = with maintainers; [ chkno ];
};
}