at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 cons, 6 multipledispatch, 7 py, 8 pytestCheckHook, 9 pytest-html, 10 setuptools, 11 setuptools-scm, 12}: 13 14buildPythonPackage rec { 15 pname = "etuples"; 16 version = "0.3.10"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "pythological"; 21 repo = "etuples"; 22 tag = "v${version}"; 23 hash = "sha256-h5MLj1z3qZiUXcNIDtUIbV5zeyTzxerbSezFD5Q27n0="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 cons 33 multipledispatch 34 ]; 35 36 nativeCheckInputs = [ 37 py 38 pytestCheckHook 39 pytest-html 40 ]; 41 42 pytestFlags = [ 43 "--html=testing-report.html" 44 "--self-contained-html" 45 ]; 46 47 pythonImportsCheck = [ "etuples" ]; 48 49 meta = with lib; { 50 description = "Python S-expression emulation using tuple-like objects"; 51 homepage = "https://github.com/pythological/etuples"; 52 changelog = "https://github.com/pythological/etuples/releases/tag/${src.tag}"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ Etjean ]; 55 }; 56}