From a08e283b62736e0e4b0ca04f8241f480f64d12bc Mon Sep 17 00:00:00 2001 From: Johannes Hendrik Gerard van der Weide Date: Tue, 2 Jan 2024 17:37:31 +0100 Subject: [PATCH] Removed unneeded dependencies --- Programs/MiniText/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Programs/MiniText/default.nix b/Programs/MiniText/default.nix index b683392..0e4d14d 100644 --- a/Programs/MiniText/default.nix +++ b/Programs/MiniText/default.nix @@ -1,7 +1,6 @@ { blueprint-compiler , desktop-file-utils , fetchFromGitHub -, gobject-introspection , lib , libadwaita , meson @@ -12,12 +11,13 @@ }: stdenv.mkDerivation (finalAttrs: { + owner = "Nokse22"; pname = "mini-text"; version = "0.2.0"; src = fetchFromGitHub { - owner = "Nokse22"; - repo = "mini-text"; + owner = "${finalAttrs.owner}"; + repo = "${finalAttrs.pname}"; rev = "v${finalAttrs.version}"; hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog="; }; @@ -25,17 +25,13 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ libadwaita (python3.withPackages (p: with p; [ - pillow pygobject3 - pyyaml - requests ])) ]; nativeBuildInputs = [ - blueprint-compiler + blueprint-compiler desktop-file-utils - gobject-introspection meson ninja wrapGAppsHook4 @@ -47,6 +43,6 @@ stdenv.mkDerivation (finalAttrs: { platforms = platforms.linux; maintainers = with maintainers; [ hertog ]; license = licenses.gpl3; - changelog = "https://github.com/Nokse22/mini-text/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/${finalAttrs.owner}/${finalAttrs.pname}/releases/tag/${finalAttrs.version}"; }; })