mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
gnirehtet: 2.3 -> 2.4
This commit is contained in:
parent
0ee0489d42
commit
f405bba843
@ -1,12 +1,12 @@
|
|||||||
{stdenv, rustPlatform, fetchFromGitHub, fetchzip, androidenv, substituteAll}:
|
{stdenv, rustPlatform, fetchFromGitHub, fetchzip, androidenv, substituteAll}:
|
||||||
let
|
let
|
||||||
version = "2.3";
|
version = "2.4";
|
||||||
apk = stdenv.mkDerivation {
|
apk = stdenv.mkDerivation {
|
||||||
pname = "gnirehtet.apk";
|
pname = "gnirehtet.apk";
|
||||||
inherit version;
|
inherit version;
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/Genymobile/gnirehtet/releases/download/v${version}/gnirehtet-rust-linux64-v${version}.zip";
|
url = "https://github.com/Genymobile/gnirehtet/releases/download/v${version}/gnirehtet-rust-linux64-v${version}.zip";
|
||||||
sha256 = "08pgmpbz82cd8ndr2syiv25l5xk1gvh9gzji4pgva5gw269bjmpz";
|
sha256 = "13gsh5982v961j86j5y71pgas94g2d1v1fgnbslbqw4h69fbf48g";
|
||||||
};
|
};
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
@ -22,10 +22,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "Genymobile";
|
owner = "Genymobile";
|
||||||
repo = "gnirehtet";
|
repo = "gnirehtet";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "118ig42qzr2xyra7r8zfxq38xidaxfc98ja9836jwnn9fgbigczr";
|
sha256 = "1c99d6zpjxa8xlrg0n1825am20d2pjiicfcjwv8iay9ylfdnvygl";
|
||||||
};
|
};
|
||||||
sourceRoot = "source/relay-rust";
|
sourceRoot = "source/relay-rust";
|
||||||
cargoSha256 = "1500lfwbfnc0k2hn7r1n629fq11zfqm3fg13dddmhchq4i3sqkfb";
|
cargoSha256 = "1l1cirhmfkpa466vksynlhwggsfiahws7cpsxydrc414l415l283";
|
||||||
|
|
||||||
patchFlags = [ "-p2" ];
|
patchFlags = [ "-p2" ];
|
||||||
patches = [
|
patches = [
|
||||||
|
Loading…
Reference in New Issue
Block a user