Merge pull request #166864 from FedX-sudo/pylnk

Pylnk: Init at 0.4.2
This commit is contained in:
Fabian Affolter 2022-04-04 10:48:38 +02:00 committed by GitHub
commit ff5da2c34a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, twine
, invoke
, pythonOlder
}:
buildPythonPackage rec {
pname = "pylnk3";
version = "0.4.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "pylnk3";
sha256 = "sha256-yu4BNvYai3iBVNyOfAOsLd5XrcFw8cR4arRyFJHKbpk=";
};
propagatedBuildInputs = [
pytest
invoke
];
# There are no tests in pylnk3.
doCheck = false;
pythonImportsCheck = [
"pylnk3"
];
meta = with lib; {
description = "Python library for reading and writing Windows shortcut files (.lnk)";
homepage = "https://github.com/strayge/pylnk";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fedx-sudo ];
};
}

View file

@ -7228,6 +7228,8 @@ in {
py-lru-cache = callPackage ../development/python-modules/py-lru-cache { };
pylnk3 = callPackage ../development/python-modules/pylnk3 { };
pylru = callPackage ../development/python-modules/pylru { };
pyls-black = callPackage ../development/python-modules/pyls-black { };