WE HAVE MINI-TEXT!!!!
parent
df9d5b320f
commit
a322315b18
|
@ -1,5 +1,7 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
let
|
||||||
|
mini-text = pkgs.callPackage ../../Programs/MiniText { };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
|
@ -12,6 +14,7 @@
|
||||||
fonts.packages = [
|
fonts.packages = [
|
||||||
pkgs.ibm-plex
|
pkgs.ibm-plex
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
# Systemwide installed packages
|
# Systemwide installed packages
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
|
@ -25,6 +28,7 @@
|
||||||
warp
|
warp
|
||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
pamixer
|
pamixer
|
||||||
|
mini-text
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
{ blueprint-compiler
|
||||||
|
, desktop-file-utils
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gobject-introspection
|
||||||
|
, lib
|
||||||
|
, libadwaita
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
|
, stdenv
|
||||||
|
, wrapGAppsHook4
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "mini-text";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Nokse22";
|
||||||
|
repo = "mini-text";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libadwaita
|
||||||
|
(python3.withPackages (p: with p; [
|
||||||
|
pillow
|
||||||
|
pygobject3
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
]))
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
blueprint-compiler
|
||||||
|
desktop-file-utils
|
||||||
|
gobject-introspection
|
||||||
|
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;
|
||||||
|
changelog = "https://github.com/Nokse22/mini-text/releases/tag/${finalAttrs.version}";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue