9 buildPythonPackage rec {
13 # pypi distribution doesn't include tests, so build from source instead
14 src = fetchFromGitHub {
17 rev = "af35445e96cbb2f3fb671a75aac6aa93e4e7e7a6";
18 sha256 = "sha256-GEhg2iMsYMfalT7L9TCd1KHU6oa/wTl5m3mRC0zOH9Q=";
23 disabled = pythonOlder "3.6";
34 # The pyproject.toml specifies the flag `--cov=timeslot`,
35 # This causes an error when running without pytest-cov,
36 # so use this flag to override that option, as we don't need coverage.
37 "--override-ini addopts=''"
40 pythonImportsCheck = [ "timeslot" ];
43 description = "Data type for representing time slots with a start and end";
44 homepage = "https://github.com/ErikBjare/timeslot";
45 maintainers = with maintainers; [ huantian ];
46 license = licenses.mit;