My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/etuples/default.nix

45 lines
911 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, cons
, multipledispatch
, pytestCheckHook
, pytest-html
}:
buildPythonPackage rec {
pname = "etuples";
version = "0.3.5";
src = fetchFromGitHub {
owner = "pythological";
repo = "etuples";
rev = "v${version}";
sha256 = "sha256-gJNxrO2d/eF4t3bBlz/BwF+9eT1nKrVrTP3F6/dEN00=";
};
propagatedBuildInputs = [
cons
multipledispatch
];
checkInputs = [
pytestCheckHook
pytest-html
];
pytestFlagsArray = [
"--html=testing-report.html"
"--self-contained-html"
];
pythonImportsCheck = [ "etuples" ];
meta = with lib; {
description = "Python S-expression emulation using tuple-like objects";
homepage = "https://github.com/pythological/etuples";
changelog = "https://github.com/pythological/etuples/releases";
license = licenses.asl20;
maintainers = with maintainers; [ Etjean ];
};
}