nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 815 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "glrnvim"; 9 version = "1.5.0"; 10 11 src = fetchFromGitHub { 12 owner = "beeender"; 13 repo = "glrnvim"; 14 rev = "v${version}"; 15 hash = "sha256-fyJ3k1CBrxL6It8x9jNumzCuhXug6eB/fuvPUQYEc4A="; 16 }; 17 18 cargoHash = "sha256-xDa2aMWx09dEbRDops2HwYSl/KMA7CeFqS2bnxX/8w8="; 19 20 postInstall = '' 21 install -Dm644 glrnvim.desktop -t $out/share/applications 22 install -Dm644 glrnvim.svg $out/share/icons/hicolor/scalable/apps/glrnvim.svg 23 ''; 24 25 meta = { 26 description = "Really fast & stable neovim GUI which could be accelerated by GPU"; 27 homepage = "https://github.com/beeender/glrnvim"; 28 mainProgram = "glrnvim"; 29 license = lib.licenses.gpl3Plus; 30 maintainers = with lib.maintainers; [ aacebedo ]; 31 }; 32}