blob: d6617e81798fcfc4f565acc3e8a93a87b18a06ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
pytest,
invoke,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pylnk3";
version = "0.4.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "pylnk3";
hash = "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)";
mainProgram = "pylnk3";
homepage = "https://github.com/strayge/pylnk";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fedx-sudo ];
};
}
|