From 400a39abec93a886d66da3db8e59145b65582a85 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Mon, 23 Sep 2024 14:17:25 +0200 Subject: [PATCH 1/3] thumbdrives: add Luflosi as maintainer --- pkgs/applications/system/thumbdrives/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/system/thumbdrives/default.nix b/pkgs/applications/system/thumbdrives/default.nix index 89711e996831..95ff7cea4dc7 100644 --- a/pkgs/applications/system/thumbdrives/default.nix +++ b/pkgs/applications/system/thumbdrives/default.nix @@ -56,7 +56,10 @@ python3.pkgs.buildPythonApplication rec { description = "USB mass storage emulator for Linux handhelds"; homepage = "https://sr.ht/~martijnbraam/thumbdrives/"; license = licenses.mit; - maintainers = with maintainers; [ chuangzhu ]; + maintainers = with maintainers; [ + chuangzhu + Luflosi + ]; platforms = platforms.linux; }; } From f2000aea8588a109e76efdec26e1ec51bee3417a Mon Sep 17 00:00:00 2001 From: Luflosi Date: Mon, 23 Sep 2024 14:29:12 +0200 Subject: [PATCH 2/3] thumbdrives: migrate to pkgs/by-name, format with nixfmt-rfc-style --- .../th/thumbdrives/package.nix} | 27 ++++++++++--------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 14 insertions(+), 15 deletions(-) rename pkgs/{applications/system/thumbdrives/default.nix => by-name/th/thumbdrives/package.nix} (83%) diff --git a/pkgs/applications/system/thumbdrives/default.nix b/pkgs/by-name/th/thumbdrives/package.nix similarity index 83% rename from pkgs/applications/system/thumbdrives/default.nix rename to pkgs/by-name/th/thumbdrives/package.nix index 95ff7cea4dc7..022e7881f7ef 100644 --- a/pkgs/applications/system/thumbdrives/default.nix +++ b/pkgs/by-name/th/thumbdrives/package.nix @@ -1,16 +1,17 @@ -{ lib -, python3 -, fetchFromSourcehut -, gtk3 -, libhandy_0 -, gobject-introspection -, meson -, pkg-config -, ninja -, gettext -, glib -, desktop-file-utils -, wrapGAppsHook3 +{ + lib, + python3, + fetchFromSourcehut, + gtk3, + libhandy_0, + gobject-introspection, + meson, + pkg-config, + ninja, + gettext, + glib, + desktop-file-utils, + wrapGAppsHook3, }: python3.pkgs.buildPythonApplication rec { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20802383bd4c..0bcb318896f0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12948,8 +12948,6 @@ with pkgs; threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { }; - thumbdrives = callPackage ../applications/system/thumbdrives { }; - tidy-viewer = callPackage ../tools/text/tidy-viewer { }; tiled = libsForQt5.callPackage ../applications/editors/tiled { }; From 50a7713ee688ffd9336af6d6d40b045662af8aec Mon Sep 17 00:00:00 2001 From: Luflosi Date: Mon, 23 Sep 2024 14:29:53 +0200 Subject: [PATCH 3/3] thumbdrives: 0.3.1 -> 0.3.2 https://git.sr.ht/~martijnbraam/thumbdrives/refs/0.3.2 --- pkgs/by-name/th/thumbdrives/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/th/thumbdrives/package.nix b/pkgs/by-name/th/thumbdrives/package.nix index 022e7881f7ef..f4f4015c8ed4 100644 --- a/pkgs/by-name/th/thumbdrives/package.nix +++ b/pkgs/by-name/th/thumbdrives/package.nix @@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication rec { pname = "thumbdrives"; - version = "0.3.1"; + version = "0.3.2"; format = "other"; @@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication rec { owner = "~martijnbraam"; repo = pname; rev = version; - sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw="; + hash = "sha256-Mh3NSEYscnzw6kjR9m0XbTygj07cIQwdyLcdLpfKi3Y="; }; postPatch = ''