diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2020-11-01 23:39:49 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-01 23:02:24 -0800 |
commit | 2c931312ce6c7baf91ec98e164bef0241fc20aa6 (patch) | |
tree | 6bf1c7d460aab2085256fd415e3f24734516683d /pkgs/games/the-butterfly-effect | |
parent | c6afa8820b528cec7e889e462cbcab84c0313b41 (diff) |
treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
Diffstat (limited to 'pkgs/games/the-butterfly-effect')
-rw-r--r-- | pkgs/games/the-butterfly-effect/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/the-butterfly-effect/default.nix b/pkgs/games/the-butterfly-effect/default.nix index 14d51ee87bd13..99599b92dfa0c 100644 --- a/pkgs/games/the-butterfly-effect/default.nix +++ b/pkgs/games/the-butterfly-effect/default.nix @@ -1,11 +1,12 @@ -{ stdenv, mkDerivation, fetchgit, qt5, box2d, which, cmake, gettext }: +{ stdenv, mkDerivation, fetchFromGitHub, qt5, box2d, which, cmake, gettext }: mkDerivation rec { pname = "tbe"; version = "0.9.3.1"; - src = fetchgit { - url = "https://github.com/kaa-ching/tbe"; + src = fetchFromGitHub { + owner = "kaa-ching"; + repo = pname; rev = "refs/tags/v${version}"; sha256 = "1ag2cp346f9bz9qy6za6q54id44d2ypvkyhvnjha14qzzapwaysj"; }; |