gtimelog: convert to python application

This commit is contained in:
nixdrin 2023-10-06 16:15:28 +02:00
parent 612f97239e
commit 916f15c469
4 changed files with 5 additions and 10 deletions

View File

@ -1,10 +1,8 @@
{ lib, fetchFromGitHub, makeWrapper
{ lib, fetchFromGitHub, python3Packages, makeWrapper
, glibcLocales, gobject-introspection, gtk3, libsoup, libsecret
, buildPythonPackage, python
, pygobject3, freezegun, mock
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "gtimelog";
version = "unstable-2020-05-16";
format = "setuptools";
@ -21,12 +19,12 @@ buildPythonPackage rec {
glibcLocales gtk3 libsoup libsecret
];
propagatedBuildInputs = [
propagatedBuildInputs = with python3Packages; [
pygobject3 freezegun mock
];
checkPhase = ''
substituteInPlace runtests --replace "/usr/bin/env python3" "${python.interpreter}"
substituteInPlace runtests --replace "/usr/bin/env python3" "${python3Packages.python.interpreter}"
./runtests
'';

View File

@ -31758,8 +31758,6 @@ with pkgs;
gthumb = callPackage ../applications/graphics/gthumb { };
gtimelog = with python3Packages; toPythonApplication gtimelog;
inherit (gnome) gucharmap;
guitarix = callPackage ../applications/audio/guitarix {

View File

@ -192,6 +192,7 @@ mapAliases ({
grappelli_safe = grappelli-safe; # added 2023-10-08
groestlcoin_hash = groestlcoin-hash; # added 2024-01-06
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
inherit (pkgs) gtimelog;
guzzle_sphinx_theme = guzzle-sphinx-theme; # added 2023-10-16
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
HAP-python = hap-python; # added 2021-06-01

View File

@ -4982,8 +4982,6 @@ self: super: with self; {
gtfs-realtime-bindings = callPackage ../development/python-modules/gtfs-realtime-bindings { };
gtimelog = callPackage ../development/python-modules/gtimelog { };
gto = callPackage ../development/python-modules/gto { };
gtts = callPackage ../development/python-modules/gtts { };