Merge pull request #117078 from fabaff/past-time

past-time: init at 0.2.1
This commit is contained in:
Sandro 2021-03-21 01:32:07 +01:00 committed by GitHub
commit b17eb69cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonApplication
, click
, fetchFromGitHub
, freezegun
, pytestCheckHook
, tqdm
}:
buildPythonApplication rec {
pname = "past-time";
version = "0.2.1";
src = fetchFromGitHub {
owner = "fabaff";
repo = pname;
rev = version;
sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
};
propagatedBuildInputs = [
click
tqdm
];
checkInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "past_time" ];
meta = with lib; {
description = "Tool to visualize the progress of the year based on the past days";
homepage = "https://github.com/fabaff/past-time";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7431,6 +7431,8 @@ in
cntlm = callPackage ../tools/networking/cntlm { };
past-time = python3Packages.callPackage ../tools/misc/past-time { };
pastebinit = callPackage ../tools/misc/pastebinit { };
pifi = callPackage ../applications/audio/pifi { };