python311Packages.lnkparse3: init at 1.3.3

Windows Shortcut file (LNK) parser

https://github.com/Matmaus/LnkParse3
This commit is contained in:
Fabian Affolter 2024-03-18 11:43:21 +01:00
parent 62748bdf42
commit 10c5fdbb32
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "lnkparse3";
version = "1.3.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Matmaus";
repo = "LnkParse3";
rev = "refs/tags/v${version}";
hash = "sha256-Ej2Tv1RViHqm2z1EG/cAkImcvtJcwSc3I0DxIL/q8FI=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"LnkParse3"
];
meta = with lib; {
description = "Windows Shortcut file (LNK) parser";
homepage = "https://github.com/Matmaus/LnkParse3";
changelog = "https://github.com/Matmaus/LnkParse3/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6777,6 +6777,8 @@ self: super: with self; {
lmtpd = callPackage ../development/python-modules/lmtpd { };
lnkparse3 = callPackage ../development/python-modules/lnkparse3 { };
loca = callPackage ../development/python-modules/loca { };
localimport = callPackage ../development/python-modules/localimport { };