11 stdenv.mkDerivation rec {
16 url = "https://github.com/vk-cli/vk/releases/download/${version}/vk-${version}-64-bin.7z";
17 sha256 = "sha256-Y40oLjddunrd7ZF1JbCcgjSCn8jFTubq69jhAVxInXw=";
37 mv $TMP/vk-${version}-64-bin vk-cli
38 install -D vk-cli --target-directory=$out/bin/
42 patchelf $out/bin/vk-cli \
43 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
44 --set-rpath "${lib.makeLibraryPath [ curl glibc ]}"
48 description = "Console (ncurses) client for vk.com written in D";
49 mainProgram = "vk-cli";
50 homepage = "https://github.com/vk-cli/vk";
51 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
52 license = licenses.asl20;
53 maintainers = with maintainers; [ dan4ik605743 ];
54 platforms = [ "x86_64-linux" ];