From bb06eb42a739eb965922a28297ea7820b0cce44c Mon Sep 17 00:00:00 2001 From: Simon <175155691+Simon-Weij@users.noreply.github.com> Date: Mon, 20 Apr 2026 13:09:06 +0200 Subject: [PATCH 1/2] maintainers: add Simon-Weij --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 787280f1b699..adedd1035bf1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -25221,6 +25221,11 @@ github = "Simarra"; githubId = 14372987; }; + Simon-Weij = { + name = "Simon"; + github = "Simon-Weij"; + githubId = 175155691; + }; simonchatts = { email = "code@chatts.net"; github = "simonchatts"; From 734bac03ff7fa7041c99a808083b0d9126014981 Mon Sep 17 00:00:00 2001 From: Simon <175155691+Simon-Weij@users.noreply.github.com> Date: Mon, 20 Apr 2026 17:10:16 +0200 Subject: [PATCH 2/2] lufus: init at 1.0.0b1.1 --- pkgs/by-name/lu/lufus/package.nix | 74 +++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 pkgs/by-name/lu/lufus/package.nix diff --git a/pkgs/by-name/lu/lufus/package.nix b/pkgs/by-name/lu/lufus/package.nix new file mode 100644 index 000000000000..de064128430f --- /dev/null +++ b/pkgs/by-name/lu/lufus/package.nix @@ -0,0 +1,74 @@ +{ + lib, + python313Packages, + fetchFromGitHub, + makeWrapper, + makeDesktopItem, + copyDesktopItems, +}: +python313Packages.buildPythonApplication (finalAttrs: { + pname = "lufus"; + version = "1.0.0b1.1"; + + src = fetchFromGitHub { + owner = "Hog185"; + repo = "Lufus"; + tag = "v${finalAttrs.version}"; + sha256 = "sha256-3i0CnhGvLTXutz8CQoH5q4PwZ23lAwnUo8H5TRJx+KE="; + }; + + propagatedBuildInputs = with python313Packages; [ + psutil + pyqt6 + pyudev + requests + platformdirs + ]; + + pyproject = true; + + build-system = with python313Packages; [ + setuptools + wheel + ]; + + nativeBuildInputs = [ + makeWrapper + copyDesktopItems + ]; + + __structuredAttrs = true; + + postInstall = '' + makeWrapper ${python313Packages.python.interpreter} $out/bin/lufus \ + --add-flags "-m lufus" \ + --prefix PYTHONPATH : "$out/${python313Packages.python.sitePackages}:${python313Packages.makePythonPath finalAttrs.propagatedBuildInputs}" + + install -Dm644 src/lufus/gui/assets/lufus.png $out/share/pixmaps/lufus.png + + copyDesktopItems + ''; + + desktopItems = [ + (makeDesktopItem { + name = "lufus"; + desktopName = "Lufus"; + comment = "A rufus clone written in py and designed to work with linux"; + exec = "lufus"; + icon = "lufus"; + categories = [ + "Utility" + "System" + ]; + }) + ]; + + meta = { + description = "A rufus clone written in py and designed to work with linux"; + homepage = "https://github.com/Hog185/Lufus"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Simon-Weij ]; + platforms = lib.platforms.linux; + mainProgram = "lufus"; + }; +})