3
0
Fork 0
forked from mirrors/nixpkgs

profile-sync-daemon: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 18:56:50 +02:00
parent c1429659c7
commit 4d0269b8ce

View file

@ -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 = ''