freesweep: use fetchFromGitHub instead of fetchurl as per #32997
This commit is contained in:
parent
b1e5910a7d
commit
cb750a6a8a
@ -1,13 +1,15 @@
|
|||||||
{ fetchurl, ncurses, stdenv,
|
{ fetchFromGitHub, ncurses, stdenv,
|
||||||
updateAutotoolsGnuConfigScriptsHook }:
|
updateAutotoolsGnuConfigScriptsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "freesweep-${version}";
|
name = "freesweep-${version}";
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/rwestlund/freesweep/archive/v${version}.tar.gz";
|
owner = "rwestlund";
|
||||||
sha256 = "0l2kf14558lsq9qd2hs0kcyn9bbl1jdbzwrvcs6mnyjl7zpizcpj";
|
repo = "freesweep";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0grkwmz9whg1vlnk6gbr0vv9i2zgbd036182pk0xj4cavaj9rpjb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
|
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
|
||||||
|
Loading…
Reference in New Issue
Block a user