thumbdrives: init at 0.3.1

+64
+62
pkgs/applications/system/thumbdrives/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromSourcehut 4 + , gtk3 5 + , libhandy_0 6 + , gobject-introspection 7 + , meson 8 + , pkg-config 9 + , ninja 10 + , gettext 11 + , glib 12 + , desktop-file-utils 13 + , wrapGAppsHook 14 + }: 15 + 16 + python3.pkgs.buildPythonApplication rec { 17 + pname = "thumbdrives"; 18 + version = "0.3.1"; 19 + 20 + format = "other"; 21 + 22 + src = fetchFromSourcehut { 23 + owner = "~martijnbraam"; 24 + repo = pname; 25 + rev = version; 26 + sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw="; 27 + }; 28 + 29 + postPatch = '' 30 + patchShebangs build-aux/meson 31 + ''; 32 + 33 + nativeBuildInputs = [ 34 + meson 35 + pkg-config 36 + ninja 37 + gettext 38 + glib 39 + gtk3 40 + desktop-file-utils 41 + wrapGAppsHook 42 + gobject-introspection 43 + ]; 44 + 45 + buildInputs = [ 46 + gtk3 47 + libhandy_0 48 + ]; 49 + 50 + propagatedBuildInputs = with python3.pkgs; [ 51 + pygobject3 52 + pyxdg 53 + ]; 54 + 55 + meta = with lib; { 56 + description = "USB mass storage emulator for Linux handhelds"; 57 + homepage = "https://sr.ht/~martijnbraam/thumbdrives/"; 58 + license = licenses.mit; 59 + maintainers = with maintainers; [ chuangzhu ]; 60 + platforms = platforms.linux; 61 + }; 62 + }
+2
pkgs/top-level/all-packages.nix
··· 12040 12040 12041 12041 threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { }; 12042 12042 12043 + thumbdrives = callPackage ../applications/system/thumbdrives { }; 12044 + 12043 12045 tidy-viewer = callPackage ../tools/text/tidy-viewer { }; 12044 12046 12045 12047 tiled = libsForQt5.callPackage ../applications/editors/tiled { };