aboutsummaryrefslogtreecommitdiff
path: root/modules/calendar.home/remind-agenda.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-02-01 13:32:56 +0530
committerAkshay Nair <phenax5@gmail.com>2026-02-01 13:32:56 +0530
commit7bdc3fe961cee0c195e6f9e969ed8c947faf6305 (patch)
tree2e9158d17263b7275ff5e4c134d4d813f546ba26 /modules/calendar.home/remind-agenda.nix
parent31541c1ebb6eb6b819b6083a37b8d4ba236f2fe3 (diff)
downloadnixos-config-7bdc3fe961cee0c195e6f9e969ed8c947faf6305.tar.gz
nixos-config-7bdc3fe961cee0c195e6f9e969ed8c947faf6305.zip
Color configuration
Diffstat (limited to 'modules/calendar.home/remind-agenda.nix')
-rw-r--r--modules/calendar.home/remind-agenda.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/calendar.home/remind-agenda.nix b/modules/calendar.home/remind-agenda.nix
new file mode 100644
index 0000000..8c2871a
--- /dev/null
+++ b/modules/calendar.home/remind-agenda.nix
@@ -0,0 +1,33 @@
+{ pkgs ? import <nixpkgs> {} }:
+with pkgs.lib;
+let
+ python = (pkgs.python3.withPackages (python-pkgs: with python-pkgs; [
+ colorama
+ termcolor
+ datetime
+ ]));
+in pkgs.stdenv.mkDerivation {
+ pname = "remind-agenda";
+ version = "0.0.0";
+
+ src = pkgs.fetchgit {
+ url = "https://gitlab.com/dkabus/remind-agenda.git";
+ rev = "cf4cd6f79aabb16317fc6008588536af5d2e4d9a";
+ hash = "sha256-f8Tmgz9Tw6gQjqtWhvteajOYieAu8OZy/+FHWC9885U=";
+ };
+
+ buildInputs = with pkgs; [ ];
+
+ phases = [ "unpackPhase" "buildPhase" "installPhase" ];
+
+ buildPhase = ''
+ cp $src/remind-agenda .
+ sed -i 's|/bin/python3|${python}/bin/python3|' ./remind-agenda
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin;
+ cp ./remind-agenda $out/bin;
+ '';
+}
+