junction: remove package

Also available in nixpkgs as of this commit.
This commit is contained in:
Gabriel Arazas 2022-07-19 13:55:16 +08:00
parent 8afa2b4d52
commit 9ba543d2fc
2 changed files with 0 additions and 46 deletions

View File

@ -33,7 +33,6 @@ let
hoppscotch-cli = callPackage ./hoppscotch-cli.nix { }; hoppscotch-cli = callPackage ./hoppscotch-cli.nix { };
hush-shell = callPackage ./hush-shell.nix { }; hush-shell = callPackage ./hush-shell.nix { };
ictree = callPackage ./ictree.nix { }; ictree = callPackage ./ictree.nix { };
junction = callPackage ./junction.nix { };
libcs50 = callPackage ./libcs50.nix { }; libcs50 = callPackage ./libcs50.nix { };
moac = callPackage ./moac.nix { }; moac = callPackage ./moac.nix { };
mopidy-beets = callPackage ./mopidy-beets.nix { }; mopidy-beets = callPackage ./mopidy-beets.nix { };

View File

@ -1,45 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, desktop-file-utils
, gjs
, appstream-glib
, gobject-introspection
, gsettings-desktop-schemas
, libadwaita
, meson
, ninja
, wrapGAppsHook4
, glib
, libportal
}:
stdenv.mkDerivation rec {
pname = "junction";
version = "1.5.0";
src = fetchFromGitHub {
owner = "sonnyp";
repo = "Junction";
rev = "v${version}";
sha256 = "sha256-jS4SHh1BB8jk/4EP070X44C4n3GjyCz8ozgK8v5lbqc=";
};
nativeBuildInputs = [ meson ninja wrapGAppsHook4 desktop-file-utils ];
buildInputs = [ gsettings-desktop-schemas ];
propagatedBuildInputs =
[ appstream-glib gjs gobject-introspection libadwaita glib libportal ];
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.gpl3Only;
mainProgram = "re.sonny.Junction";
};
}