1{ buildPythonPackage, lib, nose, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "pyjson5"; 5 version = "0.8.5"; 6 7 src = fetchFromGitHub { 8 owner = "dpranke"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0nyngj18jlkgvm1177lc3cj47wm4yh3dqigygvcvw7xkyryafsqn"; 12 }; 13 14 doCheck = true; 15 checkInputs = [ nose ]; 16 checkPhase = '' 17 nosetests 18 ''; 19 20 meta = with lib; { 21 description = "Python implementation of the JSON5 data format"; 22 license = licenses.asl20; 23 homepage = "https://github.com/dpranke/pyjson5"; 24 maintainers = with maintainers; [ isgy ]; 25 }; 26}