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