commit 683e5ac15e8d808ec6d915569846a03ea0459aab
parent 2b452bf69321c34be5540d5d484ce8ae76c749d2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 9 Jun 2022 21:22:03 +0200
parent 2b452bf69321c34be5540d5d484ce8ae76c749d2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 9 Jun 2022 21:22:03 +0200
pkgs: add kvg-station-departures
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix @@ -5,17 +5,7 @@ let smartied = pkgs.callPackage ../../../pkgs/smartied.nix {}; - kvg-station-departures = pkgs.nimPackages.buildNimPackage { - pname = "kvg-kiel-station-departures"; - version = "0.1.0"; - nimBinOnly = true; - - src = pkgs.fetchgit { - url = "https://cgit.ctu.cx/kvg-kiel-station-departures"; - rev = "38c2dba0879635cede2e29051831dfe2c71c0f86"; - sha256 = "1v1hsxy47lv81pl86pgiq7pa61rr39jj78314qczvqq0igjz1frc"; - }; - }; + kvg-station-departures = pkgs.callPackage ../../../pkgs/kvg-station-departures.nix {}; smartiePWA = import "${pkgs.fetchgit { url = "https://cgit.ctu.cx/smartie-pwa/";
diff --git a/pkgs/kvg-station-departures.nix b/pkgs/kvg-station-departures.nix @@ -0,0 +1,14 @@ +{ nimPackages, fetchgit }: + +nimPackages.buildNimPackage { + name = "kvg-kiel-station-departures"; + + nimBinOnly = true; + + src = fetchgit { + url = "https://cgit.ctu.cx/kvg-kiel-station-departures"; + rev = "38c2dba0879635cede2e29051831dfe2c71c0f86"; + sha256 = "1v1hsxy47lv81pl86pgiq7pa61rr39jj78314qczvqq0igjz1frc"; + }; + +}