Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 814 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchFromGitHub, 6 setuptools, 7 wheel, 8}: 9 10buildPythonPackage rec { 11 pname = "pyjson5"; 12 version = "2.0.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Kijewski"; 17 repo = "pyjson5"; 18 tag = "v${version}"; 19 hash = "sha256-vHO354ZjaQirOWavfaDvenE+MLQLhWF3bCHa5Z1NNXg="; 20 fetchSubmodules = true; 21 }; 22 23 build-system = [ 24 cython 25 setuptools 26 wheel 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "pyjson5" ]; 33 34 meta = with lib; { 35 description = "JSON5 serializer and parser library"; 36 homepage = "https://github.com/Kijewski/pyjson5"; 37 changelog = "https://github.com/Kijewski/pyjson5/blob/${src.tag}/CHANGELOG.md"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}