From 14c5e09a5865b92dc0637b6a7047dfaf66d6c847 Mon Sep 17 00:00:00 2001 From: Pierre Thierry Date: Fri, 19 Jun 2026 22:41:19 +0200 Subject: [PATCH] lnkparse: init at 1.6.0 Create separate package for the application --- pkgs/by-name/ln/lnkparse/package.nix | 3 +++ pkgs/development/python-modules/lnkparse3/default.nix | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 pkgs/by-name/ln/lnkparse/package.nix diff --git a/pkgs/by-name/ln/lnkparse/package.nix b/pkgs/by-name/ln/lnkparse/package.nix new file mode 100644 index 000000000000..1c466fcf65c4 --- /dev/null +++ b/pkgs/by-name/ln/lnkparse/package.nix @@ -0,0 +1,3 @@ +{ python3Packages }: + +python3Packages.toPythonApplication python3Packages.lnkparse3 diff --git a/pkgs/development/python-modules/lnkparse3/default.nix b/pkgs/development/python-modules/lnkparse3/default.nix index bc6e958944bc..e8383e05fe87 100644 --- a/pkgs/development/python-modules/lnkparse3/default.nix +++ b/pkgs/development/python-modules/lnkparse3/default.nix @@ -11,6 +11,7 @@ buildPythonPackage rec { pname = "lnkparse3"; version = "1.6.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "Matmaus"; @@ -33,5 +34,6 @@ buildPythonPackage rec { changelog = "https://github.com/Matmaus/LnkParse3/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; + mainProgram = "lnkparse"; }; }