From 35f11c1fb93ed0d408feeb2e532a76a352de846a Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Tue, 28 Jun 2022 06:19:02 +0200 Subject: [PATCH 1/2] maintainers: add jocelynthode --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5a1e46290878..d4fc6bf88d87 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6109,6 +6109,12 @@ githubId = 60272884; name = "Jonathan Jeppener-Haltenhoff"; }; + jocelynthode = { + email = "jocelyn.thode@gmail.com"; + github = "jocelynthode"; + githubId = 3967312; + name = "Jocelyn Thode"; + }; joelancaster = { email = "joe.a.lancas@gmail.com"; github = "JoeLancaster"; From 55a75ebc44873dcee1d48ef8646c3f00c9481fb1 Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Tue, 28 Jun 2022 06:35:01 +0200 Subject: [PATCH 2/2] taxi: init at 6.1.1 --- .../python-modules/taxi/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 3 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/taxi/default.nix diff --git a/pkgs/development/python-modules/taxi/default.nix b/pkgs/development/python-modules/taxi/default.nix new file mode 100644 index 000000000000..a0ccf0167cf8 --- /dev/null +++ b/pkgs/development/python-modules/taxi/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, appdirs +, requests +, click +, setuptools +, backends ? [ ] +}: + +buildPythonPackage rec { + pname = "taxi"; + version = "6.1.1"; + + src = fetchPypi { + inherit version; + pname = "taxi"; + sha256 = "b2562ed58bd6eae7896f4f8e48dbee9845cd2d452b26dd15c26f839b4864cb02"; + }; + + # No tests in pypy package + doCheck = false; + + propagatedBuildInputs = [ + appdirs + requests + click + setuptools + ] ++ backends; + + meta = with lib; { + homepage = "https://github.com/sephii/taxi/"; + description = "Timesheeting made easy"; + license = licenses.wtfpl; + maintainers = with maintainers; [ jocelynthode ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 04ea8e5f0df8..558ba946601d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29051,6 +29051,8 @@ with pkgs; taxi = callPackage ../applications/networking/ftp/taxi { }; + taxi-cli = with python3Packages; toPythonApplication taxi; + librep = callPackage ../development/libraries/librep { }; rep-gtk = callPackage ../development/libraries/rep-gtk { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6d16359d29f1..11f1ca5e1501 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10380,6 +10380,8 @@ in { tatsu = callPackage ../development/python-modules/tatsu { }; + taxi = callPackage ../development/python-modules/taxi { }; + tblib = callPackage ../development/python-modules/tblib { }; tbm-utils = callPackage ../development/python-modules/tbm-utils { };