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
, 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}";
};
})