mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
python310Packages.ssdp: update build requirements
This commit is contained in:
parent
fe2ecaf706
commit
9e16658e30
@ -1,17 +1,18 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pbr
|
||||
, flit-core
|
||||
, flit-scm
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ssdp";
|
||||
version = "1.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codingjoe";
|
||||
@ -22,29 +23,28 @@ buildPythonPackage rec {
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
pbr
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
flit-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "pytest-runner" "" \
|
||||
--replace "--cov=ssdp" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "ssdp" ];
|
||||
pythonImportsCheck = [
|
||||
"ssdp"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python asyncio library for Simple Service Discovery Protocol (SSDP)";
|
||||
homepage = "https://github.com/codingjoe/ssdp";
|
||||
changelog = "https://github.com/codingjoe/ssdp/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user