python311Packages.lnkparse3: init at 1.3.3
Windows Shortcut file (LNK) parser https://github.com/Matmaus/LnkParse3
This commit is contained in:
parent
62748bdf42
commit
10c5fdbb32
42
pkgs/development/python-modules/lnkparse3/default.nix
Normal file
42
pkgs/development/python-modules/lnkparse3/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user