Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "tidyexc"; 9 version = "0.10.0"; 10 format = "flit"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1gl1jmihafawg7hvnn4xb20vd2x5qpvca0m1wr2gk0m2jj42yiq6"; 17 }; 18 19 pythonImportsCheck = [ 20 "tidyexc" 21 ]; 22 23 meta = with lib; { 24 description = "Raise rich, helpful exceptions"; 25 homepage = "https://github.com/kalekundert/tidyexc"; 26 changelog = "https://github.com/kalekundert/tidyexc/blob/v${version}/CHANGELOG.md"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ jpetrucciani ]; 29 }; 30}