Removed unneeded dependencies

main
Johannes Hendrik Gerard van der Weide 2024-01-02 17:37:31 +01:00
parent a322315b18
commit a08e283b62
1 changed files with 5 additions and 9 deletions

View File

@ -1,7 +1,6 @@
{ blueprint-compiler { blueprint-compiler
, desktop-file-utils , desktop-file-utils
, fetchFromGitHub , fetchFromGitHub
, gobject-introspection
, lib , lib
, libadwaita , libadwaita
, meson , meson
@ -12,12 +11,13 @@
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
owner = "Nokse22";
pname = "mini-text"; pname = "mini-text";
version = "0.2.0"; version = "0.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nokse22"; owner = "${finalAttrs.owner}";
repo = "mini-text"; repo = "${finalAttrs.pname}";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog="; hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog=";
}; };
@ -25,17 +25,13 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ buildInputs = [
libadwaita libadwaita
(python3.withPackages (p: with p; [ (python3.withPackages (p: with p; [
pillow
pygobject3 pygobject3
pyyaml
requests
])) ]))
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
blueprint-compiler blueprint-compiler
desktop-file-utils desktop-file-utils
gobject-introspection
meson meson
ninja ninja
wrapGAppsHook4 wrapGAppsHook4
@ -47,6 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ hertog ]; maintainers = with maintainers; [ hertog ];
license = licenses.gpl3; 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}";
}; };
}) })