1{ lib, buildPythonPackage, fetchPypi 2, pytest, mock }: 3 4buildPythonPackage rec { 5 pname = "jsonref"; 6 version = "0.2"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "15v69rg2lkcykb2spnq6vbbirv9sfq480fnwmfppw9gn3h95pi7k"; 11 }; 12 13 checkInputs = [ pytest mock ]; 14 15 checkPhase = '' 16 py.test tests.py 17 ''; 18 19 meta = with lib; { 20 description = "An implementation of JSON Reference for Python"; 21 homepage = "https://github.com/gazpachoking/jsonref"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ ]; 24 platforms = platforms.all; 25 }; 26}