mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
6bb2eae2ff
pytestpep8 was removed in 25c9946f95
.
This removes pytestpep8 in the rest of the tree, where it was hardly
used.
29 lines
702 B
Nix
29 lines
702 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, six
|
|
, flake8, pep8-naming, pytest, pytestcov }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonlines";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wbolster";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1f8zsqy8p9a41gqg2a5x7sppc5qhhq7gw58id2aigb270yxzs7jw";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ flake8 pep8-naming pytest pytestcov ];
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Python library to simplify working with jsonlines and ndjson data";
|
|
homepage = "https://github.com/wbolster/jsonlines";
|
|
maintainers = with maintainers; [ sondr3 ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|