2024-01-02 15:39:14 +00:00
|
|
|
{ blueprint-compiler
|
|
|
|
, desktop-file-utils
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libadwaita
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
|
|
|
, stdenv
|
|
|
|
, wrapGAppsHook4
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-01-02 16:37:31 +00:00
|
|
|
owner = "Nokse22";
|
2024-01-02 15:39:14 +00:00
|
|
|
pname = "mini-text";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-01-02 16:37:31 +00:00
|
|
|
owner = "${finalAttrs.owner}";
|
|
|
|
repo = "${finalAttrs.pname}";
|
2024-01-02 15:39:14 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libadwaita
|
|
|
|
(python3.withPackages (p: with p; [
|
|
|
|
pygobject3
|
|
|
|
]))
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-01-02 16:37:31 +00:00
|
|
|
blueprint-compiler
|
2024-01-02 15:39:14 +00:00
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "An extremely simple Gtk4/Libadwaita app that shows a text view to copy/paste and edit text";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ hertog ];
|
|
|
|
license = licenses.gpl3;
|
2024-01-02 16:37:31 +00:00
|
|
|
changelog = "https://github.com/${finalAttrs.owner}/${finalAttrs.pname}/releases/tag/${finalAttrs.version}";
|
2024-01-02 15:39:14 +00:00
|
|
|
};
|
|
|
|
})
|