Add termtime python package

This commit is contained in:
madmaurice 2021-04-21 22:39:10 +02:00
parent a0ed3ea98e
commit 8dd8aac0f3
2 changed files with 26 additions and 0 deletions

View file

@ -3,6 +3,11 @@ self: super:
let
inherit (super) callPackage;
in
let
pythonOverrides = self: super: {
termtime = callPackage ./pkgs/python-packages/termtime.nix { inherit (super) buildPythonPackage fetchPypi; };
};
in
rec {
coreutils-advcpmv = callPackage ./pkgs/coreutils-advcpmv.nix {};
@ -18,4 +23,6 @@ rec {
flatery-icon-theme = callPackage ./pkgs/icon-theme/flatery-icon-theme.nix {};
openhexagon = callPackage ./pkgs/openhexagon/default.nix {};
python3 = super.python3.override { packageOverrides = pythonOverrides; };
}

View file

@ -0,0 +1,19 @@
{ lib
, buildPythonPackage
, fetchPypi }:
buildPythonPackage rec {
pname = "termtime";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "1i5p0sv7dn9x3xdjxm5p151qdvg92c23l280ihkrqp8k69gah9y7";
};
meta = with lib; {
homepage = "https://github.com/vimist/termtime";
description = "A command line utility to manage and display time related tasks in the terminal";
license = licenses.unfree;
};
}