3
0
Fork 0
forked from mirrors/nixpkgs

nxengine-evo: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-01-03 00:31:00 +01:00
parent dcbef734c6
commit d702c7ab8d

View file

@ -1,6 +1,7 @@
{ lib, stdenv { lib, stdenv
, fetchpatch , fetchpatch
, fetchurl , fetchurl
, fetchFromGitHub
, cmake , cmake
, libpng , libpng
, SDL2 , SDL2
@ -10,9 +11,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nxengine-evo"; pname = "nxengine-evo";
version = "2.6.4"; version = "2.6.4";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/nxengine/nxengine-evo/archive/v${version}.tar.gz"; owner = "nxengine";
sha256 = "1xir74l0vrzrpyl7sfqfxp083dakbix26hd0arwf2y57w1mbjas8"; repo = "nxengine-evo";
rev = "v${version}";
sha256 = "sha256-krK2b1E5JUMxRoEWmb3HZMNSIHfUUGXSpyb4/Zdp+5A=";
}; };
assets = fetchurl { assets = fetchurl {
url = "https://github.com/nxengine/nxengine-evo/releases/download/v${version}/NXEngine-v${version}-Linux.tar.xz"; url = "https://github.com/nxengine/nxengine-evo/releases/download/v${version}/NXEngine-v${version}-Linux.tar.xz";