Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 538 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "jsondiff"; 8 version = "1.2.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l"; 13 }; 14 15 postPatch = '' 16 sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py 17 ''; 18 19 # No tests 20 doCheck = false; 21 22 meta = { 23 description = "Diff JSON and JSON-like structures in Python"; 24 homepage = "https://github.com/ZoomerAnalytics/jsondiff"; 25 license = lib.licenses.mit; 26 }; 27}