mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
pop-launcher-plugin-jetbrains: init at 2022-08-07
This commit is contained in:
parent
3158a0a9b4
commit
7c6d2ac4f0
@ -50,6 +50,7 @@ let
|
||||
pop-launcher = callPackage ./pop-launcher.nix { };
|
||||
pop-launcher-plugin-duckduckgo-bangs =
|
||||
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
||||
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
|
||||
text-engine = callPackage ./text-engine.nix { };
|
||||
tic-80 = callPackage ./tic-80 { };
|
||||
thokr = callPackage ./thokr.nix { };
|
||||
|
27
pkgs/pop-launcher-plugin-jetbrains/default.nix
Normal file
27
pkgs/pop-launcher-plugin-jetbrains/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pop-launcher-plugin-jetbrains";
|
||||
version = "2022-08-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oknozor";
|
||||
repo = "pop-launcher-jetbrains-plugin";
|
||||
rev = "9883ee1361c2de0bdd8ba4438a8e854303cdece6";
|
||||
sha256 = "sha256-yvkKZTulgDqr2k9M1rEEHc52IDcqMw9UA3xe/HOLD9M";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-WuqRU+dkRVGQL+fb3utcuS4HZRTGkBtcnri7lqO9rZk=";
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 plugin.ron -t "$out/share/pop-launcher/plugins/jetbrains"
|
||||
mv "$out/bin/pop-launcher-jetbrains-plugin" "$out/share/pop-launcher/plugins/jetbrains/jetbrains"
|
||||
rmdir $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/oknozor/pop-launcher-jetbrains-plugin";
|
||||
description = "Launch your JetBrains IDE with Pop launcher";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user