mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
junction: init at 1.4.0
This commit is contained in:
parent
12077bfc60
commit
69225a0ceb
@ -10,6 +10,7 @@ with pkgs; {
|
|||||||
callPackage ./gnome-shell-extension-desktop-cube.nix { };
|
callPackage ./gnome-shell-extension-desktop-cube.nix { };
|
||||||
gnome-shell-extension-fly-pie =
|
gnome-shell-extension-fly-pie =
|
||||||
callPackage ./gnome-shell-extension-fly-pie.nix { };
|
callPackage ./gnome-shell-extension-fly-pie.nix { };
|
||||||
|
junction = callPackage ./junction.nix { };
|
||||||
libcs50 = callPackage ./libcs50.nix { };
|
libcs50 = callPackage ./libcs50.nix { };
|
||||||
llama = callPackage ./llama.nix { };
|
llama = callPackage ./llama.nix { };
|
||||||
neo = callPackage ./neo.nix { };
|
neo = callPackage ./neo.nix { };
|
||||||
|
36
pkgs/junction.nix
Normal file
36
pkgs/junction.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, desktop-file-utils, gjs, appstream-glib
|
||||||
|
, gobject-introspection, gsettings-desktop-schemas, libadwaita, meson_0_60
|
||||||
|
, ninja, wrapGAppsHook4 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "junction";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sonnyp";
|
||||||
|
repo = "Junction";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-lU6dGsX6jYYmwRz0z4V+4xTFAikUYCsszNVoyc7snwM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson_0_60 ninja wrapGAppsHook4 ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libadwaita
|
||||||
|
gjs
|
||||||
|
gobject-introspection
|
||||||
|
appstream-glib
|
||||||
|
desktop-file-utils
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
substituteInPlace $out/bin/re.sonny.Junction --replace "#!/usr/bin/env -S gjs" "#!${gjs}/bin/gjs"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/sonnyp/Junction";
|
||||||
|
description = "Application chooser";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user