3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pypck: init at 0.7.8

This commit is contained in:
Fabian Affolter 2021-01-11 23:19:51 +01:00
parent 82425ca793
commit 8def5f630a
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytest-cov
, pytest-timeout
, pytestCheckHook
, pythonOlder
, stdenv
}:
buildPythonPackage rec {
pname = "pypck";
version = "0.7.8";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "alengwenus";
repo = pname;
rev = version;
sha256 = "06yqyqpzpypid27z31prvsp7nzpjqzn7gjlfqwjhhxl8fdgh8hkr";
};
checkInputs = [
pytest-asyncio
pytest-cov
pytest-timeout
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
"test_connection_lost"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "pypck" ];
meta = with lib; {
description = "LCN-PCK library written in Python";
homepage = "https://github.com/alengwenus/pypck";
license = with licenses; [ epl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5565,6 +5565,8 @@ in {
pypcap = callPackage ../development/python-modules/pypcap { };
pypck = callPackage ../development/python-modules/pypck { };
pypdf2 = callPackage ../development/python-modules/pypdf2 { };
pyPdf = callPackage ../development/python-modules/pypdf { };