nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 63 lines 1.1 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 meson, 6 pkg-config, 7 ninja, 8 glib, 9 gtk3, 10 cjs, 11 gtksourceview4, 12 gobject-introspection, 13 libmusicbrainz5, 14 webkitgtk_4_1, 15 clutter-gtk, 16 clutter-gst, 17 wrapGAppsHook3, 18 nemo, 19 xreader, 20}: 21 22stdenv.mkDerivation (finalAttrs: { 23 pname = "nemo-preview"; 24 version = "6.4.0"; 25 26 src = fetchFromGitHub { 27 owner = "linuxmint"; 28 repo = "nemo-extensions"; 29 tag = finalAttrs.version; 30 hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y="; 31 }; 32 33 sourceRoot = "${finalAttrs.src.name}/nemo-preview"; 34 35 nativeBuildInputs = [ 36 wrapGAppsHook3 37 gobject-introspection 38 meson 39 pkg-config 40 glib 41 ninja 42 ]; 43 44 buildInputs = [ 45 gtk3 46 cjs 47 gtksourceview4 48 libmusicbrainz5 49 webkitgtk_4_1 50 clutter-gtk 51 clutter-gst 52 nemo 53 xreader 54 ]; 55 56 meta = { 57 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-preview"; 58 description = "Quick previewer for Nemo, the Cinnamon desktop file manager"; 59 license = lib.licenses.gpl2Plus; 60 platforms = lib.platforms.linux; 61 teams = [ lib.teams.cinnamon ]; 62 }; 63})