python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / past-time / default.nix
blob3604e4ddcb4a7e7a053ba91fbaaa2af7f4b90e52
1 { lib
2 , buildPythonApplication
3 , click
4 , fetchFromGitHub
5 , freezegun
6 , pytestCheckHook
7 , tqdm
8 }:
10 buildPythonApplication rec {
11   pname = "past-time";
12   version = "0.2.1";
14   src = fetchFromGitHub {
15     owner = "fabaff";
16     repo = pname;
17     rev = version;
18     sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
19   };
21   propagatedBuildInputs = [
22     click
23     tqdm
24   ];
26   checkInputs = [
27     freezegun
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "past_time" ];
33   meta = with lib; {
34     description = "Tool to visualize the progress of the year based on the past days";
35     homepage = "https://github.com/fabaff/past-time";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };