diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2024-05-30 09:13:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 09:13:47 +0200 |
commit | 9376e88451fdbfe0a68fd05bcd0ff80a92d36a7e (patch) | |
tree | d846b0404ab8b6ea164fd6a8e7bc963259a34b18 /pkgs/tools/text | |
parent | 7ba41881aa7ebc53e089adc82b8ea5e2f5e1e55c (diff) | |
parent | f1e5059633bf381df571d8e67b8536bfe2c9f3e4 (diff) |
Merge pull request #315651 from zendo/upd/textpieces
textpieces: 3.4.1 -> 4.0.6, refactor
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/textpieces/default.nix | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/pkgs/tools/text/textpieces/default.nix b/pkgs/tools/text/textpieces/default.nix deleted file mode 100644 index 90f05fc8f1dc3..0000000000000 --- a/pkgs/tools/text/textpieces/default.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, python3 -, meson -, ninja -, pkg-config -, vala -, glib -, gtk4 -, libgee -, libadwaita -, libportal-gtk4 -, json-glib -, blueprint-compiler -, gtksourceview5 -, gobject-introspection -, wrapGAppsHook4 -, appstream-glib -, desktop-file-utils -}: - -let - pythonEnv = python3.withPackages (ps: with ps; [ pyyaml ]); -in -stdenv.mkDerivation (finalAttrs: { - pname = "textpieces"; - version = "3.4.1"; - - src = fetchFromGitHub { - owner = "liferooter"; - repo = "textpieces"; - rev = "v${finalAttrs.version}"; - hash = "sha256-3ZUHzt3oXYgsnJVDf83JUDhcF+0DLgFfOMtpKI/FTcE="; - }; - - nativeBuildInputs = [ - meson - ninja - pkg-config - pythonEnv - vala - blueprint-compiler - wrapGAppsHook4 - appstream-glib - desktop-file-utils - gobject-introspection - ]; - - buildInputs = [ - glib - gtk4 - libadwaita - libportal-gtk4 - libgee - json-glib - gtksourceview5 - ]; - - runtimeDependencies = [ - pythonEnv - ]; - - patches = [ - (fetchpatch { - url = "https://github.com/liferooter/textpieces/commit/26348782b9fddc5f2ffb9497cf18ec8ce9592960.patch"; - hash = "sha256-w86PCeDhoyMPm63GCBa2Ax8KfCdlxtmGeUrmt1ZSz1k="; - }) - ]; - - postPatch = '' - chmod +x build-aux/meson/postinstall.py - patchShebangs build-aux/meson/postinstall.py - patchShebangs scripts/ - ''; - - meta = with lib; { - description = "Quick text processing"; - longDescription = "A small tool for quick text transformations such as checksums, encoding, decoding and so on."; - homepage = "https://github.com/liferooter/textpieces"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ zendo ]; - }; -}) |