git.iko.soy/typeable/nixpkgs
on master help sign in
freesweep: use fetchFromGitHub instead of fetchurl as per #32997
commitcb750a6a8aaab47cdab50548633702c8c26d0415 authorKier Davis <kierdavis@gmail.com> dateThu 15 Nov 2018, 06:48 (8 years ago) parentb1e5910
1 file changed+6−4
pkgs/games/freesweep/default.nix+6−4
pkgs/games/freesweep/default.nix+6−4
@@ -1,13 +1,15 @@
1−{ fetchurl, ncurses, stdenv,
1+{ fetchFromGitHub, ncurses, stdenv,
22 updateAutotoolsGnuConfigScriptsHook }:
33
44stdenv.mkDerivation rec {
55 name = "freesweep-${version}";
66 version = "1.0.1";
77
8− src = fetchurl {
9− url = "https://github.com/rwestlund/freesweep/archive/v${version}.tar.gz";
10− sha256 = "0l2kf14558lsq9qd2hs0kcyn9bbl1jdbzwrvcs6mnyjl7zpizcpj";
8+ src = fetchFromGitHub {
9+ owner = "rwestlund";
10+ repo = "freesweep";
11+ rev = "v${version}";
12+ sha256 = "0grkwmz9whg1vlnk6gbr0vv9i2zgbd036182pk0xj4cavaj9rpjb";
1113 };
1214
1315 nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];