mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
nxengine-evo: switch to fetchFromGitHub
This commit is contained in:
parent
dcbef734c6
commit
d702c7ab8d
@ -1,6 +1,7 @@
|
||||
{ lib, stdenv
|
||||
, fetchpatch
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, libpng
|
||||
, SDL2
|
||||
@ -10,9 +11,11 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nxengine-evo";
|
||||
version = "2.6.4";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/nxengine/nxengine-evo/archive/v${version}.tar.gz";
|
||||
sha256 = "1xir74l0vrzrpyl7sfqfxp083dakbix26hd0arwf2y57w1mbjas8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nxengine";
|
||||
repo = "nxengine-evo";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-krK2b1E5JUMxRoEWmb3HZMNSIHfUUGXSpyb4/Zdp+5A=";
|
||||
};
|
||||
assets = fetchurl {
|
||||
url = "https://github.com/nxengine/nxengine-evo/releases/download/v${version}/NXEngine-v${version}-Linux.tar.xz";
|
||||
|
Loading…
Reference in New Issue
Block a user