diff options
author | Felix Buehler <account@buehler.rocks> | 2022-03-15 11:32:16 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-03-16 23:23:10 +0100 |
commit | 45c1cc217556a056bb91c8680e262d997008df22 (patch) | |
tree | 32446ec1d394d6ec18e3698c6be88961cfe0e62f /pkgs/applications/misc/nix-tour | |
parent | 3a1e015627474c8f1da6a5c83577cd3e293a7475 (diff) |
nix-tour: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/applications/misc/nix-tour')
-rw-r--r-- | pkgs/applications/misc/nix-tour/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/misc/nix-tour/default.nix b/pkgs/applications/misc/nix-tour/default.nix index 57b1b62569065..7eed625f1e900 100644 --- a/pkgs/applications/misc/nix-tour/default.nix +++ b/pkgs/applications/misc/nix-tour/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchgit, electron, runtimeShell } : +{ lib, stdenv, fetchFromGitHub, electron, runtimeShell } : stdenv.mkDerivation rec { pname = "nix-tour"; @@ -6,10 +6,11 @@ stdenv.mkDerivation rec { buildInputs = [ electron ]; - src = fetchgit { - url = "https://github.com/nixcloud/tour_of_nix"; + src = fetchFromGitHub { + owner = "nixcloud"; + repo = "tour_of_nix"; rev = "v${version}"; - sha256 = "09b1vxli4zv1nhqnj6c0vrrl51gaira94i8l7ww96fixqxjgdwvb"; + sha256 = "sha256-a/P2ZMc9OpM4PxRFklSO6oVCc96AGWkxtGF/EmnfYSU="; }; installPhase = '' |