about summary refs log tree commit diff
path: root/pkgs/tools/misc/profile-sync-daemon
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-09-19 18:56:50 +0200
committerFelix Buehler <account@buehler.rocks>2021-09-19 18:56:50 +0200
commit4d0269b8cec47d27476a2535ea4be897cc510036 (patch)
tree3be46313007f16f06b548650893bb56ac8b370f6 /pkgs/tools/misc/profile-sync-daemon
parentc1429659c7508afd42726773395d64600158f702 (diff)
profile-sync-daemon: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/tools/misc/profile-sync-daemon')
-rw-r--r--pkgs/tools/misc/profile-sync-daemon/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/misc/profile-sync-daemon/default.nix b/pkgs/tools/misc/profile-sync-daemon/default.nix
index d0bd0c76a839b..c14d3b07a37c8 100644
--- a/pkgs/tools/misc/profile-sync-daemon/default.nix
+++ b/pkgs/tools/misc/profile-sync-daemon/default.nix
@@ -1,12 +1,14 @@
-{ lib, stdenv, fetchurl, util-linux, coreutils}:
+{ lib, stdenv, fetchFromGitHub, util-linux, coreutils }:
 
 stdenv.mkDerivation rec {
-  version = "6.44";
   pname = "profile-sync-daemon";
+  version = "6.44";
 
-  src = fetchurl {
-    url = "https://github.com/graysky2/profile-sync-daemon/archive/v${version}.tar.gz";
-    sha256 = "sha256-+iQr7T99X/jYYgq0xNHLPCJG5mZU/6dN76Z1FB51Z54=";
+  src = fetchFromGitHub {
+    owner = "graysky2";
+    repo = "profile-sync-daemon";
+    rev = "v${version}";
+    hash = "sha256-7sEC2b4mzgbDTFgpH5abZ/kiwEmGdbKkTLiD73Efdls=";
   };
 
   installPhase = ''