Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, cons 5, multipledispatch 6, py 7, pytestCheckHook 8, pytest-html 9}: 10 11buildPythonPackage rec { 12 pname = "etuples"; 13 version = "0.3.8"; 14 15 src = fetchFromGitHub { 16 owner = "pythological"; 17 repo = "etuples"; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-wEgam2IoI3z75bN45/R9o+0JmL3g0YmtsuJ4TnZjhi8="; 20 }; 21 22 propagatedBuildInputs = [ 23 cons 24 multipledispatch 25 ]; 26 27 nativeCheckInputs = [ 28 py 29 pytestCheckHook 30 pytest-html 31 ]; 32 33 pytestFlagsArray = [ 34 "--html=testing-report.html" 35 "--self-contained-html" 36 ]; 37 38 pythonImportsCheck = [ "etuples" ]; 39 40 meta = with lib; { 41 description = "Python S-expression emulation using tuple-like objects"; 42 homepage = "https://github.com/pythological/etuples"; 43 changelog = "https://github.com/pythological/etuples/releases"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ Etjean ]; 46 }; 47}