mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
past-time: migrate to python3.pkgs.buildPythonApplication
This commit is contained in:
parent
e2167c6ff0
commit
5ead2d525b
@ -1,13 +1,9 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, pytestCheckHook
|
||||
, tqdm
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "past-time";
|
||||
version = "0.2.1";
|
||||
format = "setuptools";
|
||||
@ -16,15 +12,15 @@ buildPythonApplication rec {
|
||||
owner = "fabaff";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
|
||||
hash = "sha256-9LmFOWNUkvKfWHLo4HB1W1UBQL90Gp9UJJ3VDIYBDHo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
tqdm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -11437,7 +11437,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