mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 14:48:25 +03:00
Merge pull request #236537 from fabaff/past-time-migrate
past-time: migrate to python3.pkgs.buildPythonApplication
This commit is contained in:
commit
6ae5941ed8
@ -1,38 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, pytestCheckHook
|
||||
, tqdm
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "past-time";
|
||||
version = "0.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabaff";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9LmFOWNUkvKfWHLo4HB1W1UBQL90Gp9UJJ3VDIYBDHo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
tqdm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "past_time" ];
|
||||
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";
|
||||
changelog = "https://github.com/fabaff/past-time/releases/tag/${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
@ -11565,7 +11565,7 @@ with pkgs;
|
||||
|
||||
cnping = callPackage ../tools/networking/cnping { };
|
||||
|
||||
past-time = python3Packages.callPackage ../tools/misc/past-time { };
|
||||
past-time = callPackage ../tools/misc/past-time { };
|
||||
|
||||
pastebinit = callPackage ../tools/misc/pastebinit { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user