Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, twine 6, invoke 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pylnk3"; 12 version = "0.4.2"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "pylnk3"; 19 hash = "sha256-yu4BNvYai3iBVNyOfAOsLd5XrcFw8cR4arRyFJHKbpk="; 20 }; 21 22 propagatedBuildInputs = [ 23 pytest 24 invoke 25 ]; 26 # There are no tests in pylnk3. 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "pylnk3" 31 ]; 32 33 meta = with lib; { 34 description = "Python library for reading and writing Windows shortcut files (.lnk)"; 35 homepage = "https://github.com/strayge/pylnk"; 36 license = with licenses; [ lgpl3Only ]; 37 maintainers = with maintainers; [ fedx-sudo ]; 38 }; 39}