ctucx.git: nixfiles

ctucx' nixfiles

commit 1666810fc7dbadb2c4ec07681c4ab5412d900a4f
parent b37ff524c255ec48a5f68864c6f261c9cf68e019
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 9 Jun 2022 15:35:08 +0200

pkgs/{garminexport,phockup}: fix for github-tags
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/garminexport.nix b/pkgs/garminexport.nix
@@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
   src = fetchFromGitHub {
     owner  = "petergardfjall";
     repo   = "garminexport";
-    rev    = "${version}";
-    sha256 = "126i9dsaancj4mmcb6096kypvac88saqfhlajhwnsikjf0k7xl9k";
+    rev    = "refs/tags/v${version}";
+    sha256 = "1flng30rx8mpqkbvypmkwpdxaz9wlc2hry96887mdvp10qnjwwvm";
   };
 }
diff --git a/pkgs/phockup.nix b/pkgs/phockup.nix
@@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec {
   src = fetchFromGitHub {
     owner  = "ivandokov";
     repo   = "phockup";
-    rev    = version;
+    rev    = "refs/tags/${version}";
     sha256 = "0js37fzfsxfgb9qs4sh1kxlgmf1xlbxcm0kn4yvq2dvzr6h2kaxh";
   };