nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 28 lines 704 B view raw
1{ lib, fetchFromGitHub, buildPythonPackage, six 2, flake8, pep8-naming, pytest, pytest-cov }: 3 4buildPythonPackage rec { 5 pname = "jsonlines"; 6 version = "3.0.0"; 7 8 src = fetchFromGitHub { 9 owner = "wbolster"; 10 repo = pname; 11 rev = version; 12 sha256 = "1242bvk208vjaw8zl1d7ydb0i05v8fwdgi92d3bi1vaji9s2hv65"; 13 }; 14 15 propagatedBuildInputs = [ six ]; 16 17 checkInputs = [ flake8 pep8-naming pytest pytest-cov ]; 18 checkPhase = '' 19 pytest 20 ''; 21 22 meta = with lib; { 23 description = "Python library to simplify working with jsonlines and ndjson data"; 24 homepage = "https://github.com/wbolster/jsonlines"; 25 maintainers = with maintainers; [ sondr3 ]; 26 license = licenses.bsd3; 27 }; 28}