1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, cons 5, multipledispatch 6, pytestCheckHook 7, pytest-html 8}: 9 10buildPythonPackage rec { 11 pname = "etuples"; 12 version = "0.3.5"; 13 14 src = fetchFromGitHub { 15 owner = "pythological"; 16 repo = "etuples"; 17 rev = "v${version}"; 18 sha256 = "sha256-gJNxrO2d/eF4t3bBlz/BwF+9eT1nKrVrTP3F6/dEN00="; 19 }; 20 21 propagatedBuildInputs = [ 22 cons 23 multipledispatch 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 pytest-html 29 ]; 30 31 pytestFlagsArray = [ 32 "--html=testing-report.html" 33 "--self-contained-html" 34 ]; 35 36 pythonImportsCheck = [ "etuples" ]; 37 38 meta = with lib; { 39 description = "Python S-expression emulation using tuple-like objects"; 40 homepage = "https://github.com/pythological/etuples"; 41 changelog = "https://github.com/pythological/etuples/releases"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ Etjean ]; 44 }; 45}