2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cons
|
|
|
|
, multipledispatch
|
2023-01-20 10:41:00 +00:00
|
|
|
, py
|
2022-03-05 16:20:37 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-html
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "etuples";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.3.8";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pythological";
|
|
|
|
repo = "etuples";
|
2023-01-20 10:41:00 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-wEgam2IoI3z75bN45/R9o+0JmL3g0YmtsuJ4TnZjhi8=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cons
|
|
|
|
multipledispatch
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
py
|
2022-03-05 16:20:37 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|