past-time: migrate to python3.pkgs.buildPythonApplication
This commit is contained in:
parent
e2167c6ff0
commit
5ead2d525b
|
@ -1,13 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, click
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, freezegun
|
, python3
|
||||||
, pytestCheckHook
|
|
||||||
, tqdm
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "past-time";
|
pname = "past-time";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
@ -16,15 +12,15 @@ buildPythonApplication rec {
|
||||||
owner = "fabaff";
|
owner = "fabaff";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
|
hash = "sha256-9LmFOWNUkvKfWHLo4HB1W1UBQL90Gp9UJJ3VDIYBDHo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
click
|
click
|
||||||
tqdm
|
tqdm
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
freezegun
|
freezegun
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
|
@ -11437,7 +11437,7 @@ with pkgs;
|
||||||
|
|
||||||
cnping = callPackage ../tools/networking/cnping { };
|
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 { };
|
pastebinit = callPackage ../tools/misc/pastebinit { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue