Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, appdirs 5, requests 6, click 7, setuptools 8, pytestCheckHook 9, freezegun 10}: 11 12buildPythonPackage rec { 13 pname = "taxi"; 14 version = "6.2.0"; 15 16 src = fetchFromGitHub { 17 owner = "sephii"; 18 repo = "taxi"; 19 rev = version; 20 hash = "sha256-wtLlO/W+39kTPjb2U6c54bxWxAQB7CxGxBh8gur+RCQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 appdirs 25 requests 26 click 27 setuptools 28 ]; 29 30 nativeCheckInputs = [ 31 freezegun 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "taxi" ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/sephii/taxi/"; 39 description = "Timesheeting made easy"; 40 license = licenses.wtfpl; 41 maintainers = with maintainers; [ jocelynthode ]; 42 }; 43}