nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 845 B view raw
1{ 2 stdenv, 3 lib, 4 rustPlatform, 5 nix-update-script, 6 fetchFromGitHub, 7}: 8 9rustPlatform.buildRustPackage (finalAttrs: { 10 pname = "nu_plugin_skim"; 11 version = "0.22.0"; 12 13 src = fetchFromGitHub { 14 owner = "idanarye"; 15 repo = "nu_plugin_skim"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-TdsemIPbknJiglxhQwBch8iJ9GVa+Sj3fqSq4xaDqfk="; 18 }; 19 20 cargoHash = "sha256-vpRL4oiOmhnGO+eWWTA7/RvVrtouVzqJvPGZY/cHeXY="; 21 22 nativeBuildInputs = lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ]; 23 24 passthru.updateScript = nix-update-script { }; 25 26 meta = { 27 description = "Nushell plugin that adds integrates the skim fuzzy finder"; 28 mainProgram = "nu_plugin_skim"; 29 homepage = "https://github.com/idanarye/nu_plugin_skim"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ aftix ]; 32 }; 33})