Merge pull request #180000 from hqurve/junction
junction: init at 1.5.0
This commit is contained in:
commit
e70d2e3b24
57
pkgs/applications/misc/junction/default.nix
Normal file
57
pkgs/applications/misc/junction/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, appstream-glib
|
||||||
|
, desktop-file-utils
|
||||||
|
, gobject-introspection
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, wrapGAppsHook4
|
||||||
|
, gjs
|
||||||
|
, gtk4
|
||||||
|
, libadwaita
|
||||||
|
, libportal-gtk4
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "junction";
|
||||||
|
version = "1.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sonnyp";
|
||||||
|
repo = "junction";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-jS4SHh1BB8jk/4EP070X44C4n3GjyCz8ozgK8v5lbqc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
appstream-glib
|
||||||
|
desktop-file-utils
|
||||||
|
gobject-introspection
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook4
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gjs
|
||||||
|
gtk4
|
||||||
|
libadwaita
|
||||||
|
libportal-gtk4
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# autoPatchShebangs does not like "/usr/bin/env -S gjs"
|
||||||
|
substituteInPlace $out/bin/re.sonny.Junction --replace "/usr/bin/env -S gjs" "/usr/bin/gjs"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Choose the application to open files and links";
|
||||||
|
homepage = "https://apps.gnome.org/en/app/re.sonny.Junction/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ hqurve ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -27156,6 +27156,8 @@ with pkgs;
|
||||||
|
|
||||||
jmusicbot = callPackage ../applications/audio/jmusicbot { };
|
jmusicbot = callPackage ../applications/audio/jmusicbot { };
|
||||||
|
|
||||||
|
junction = callPackage ../applications/misc/junction { };
|
||||||
|
|
||||||
lemonade = callPackage ../applications/misc/lemonade { };
|
lemonade = callPackage ../applications/misc/lemonade { };
|
||||||
|
|
||||||
libquvi = callPackage ../applications/video/quvi/library.nix { };
|
libquvi = callPackage ../applications/video/quvi/library.nix { };
|
||||||
|
|
Loading…
Reference in a new issue