nixpkgs/pkgs/development/python-modules/ndjson/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

23 lines
607 B
Nix

{ lib, buildPythonPackage, fetchPypi, watchdog, flake8
, pytest, pytest-runner, coverage, sphinx, twine }:
buildPythonPackage rec {
pname = "ndjson";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY=";
};
nativeCheckInputs = [ pytest pytest-runner flake8 twine sphinx coverage watchdog ];
meta = with lib; {
homepage = "https://github.com/rhgrant10/ndjson";
description = "JsonDecoder";
platforms = platforms.unix;
license = licenses.gpl3Only;
maintainers = with maintainers; [ freezeboy ];
};
}