python310Packages.Pyro5: add pythonImportsCheck
- add changelog to meta
This commit is contained in:
parent
744ce872f1
commit
33b9951097
1 changed files with 27 additions and 11 deletions
|
@ -1,36 +1,52 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
, fetchPypi
|
|
||||||
, lib
|
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
, serpent
|
, serpent
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Pyro5";
|
pname = "pyro5";
|
||||||
version = "5.14";
|
version = "5.14";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "Pyro5";
|
||||||
sha256 = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo=";
|
inherit version;
|
||||||
|
hash = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ serpent ];
|
propagatedBuildInputs = [
|
||||||
|
serpent
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# ignore network related tests, which fail in sandbox
|
disabledTests = [
|
||||||
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]
|
# Ignore network related tests, which fail in sandbox
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
"StartNSfunc"
|
||||||
|
"Broadcast"
|
||||||
|
"GetIP"
|
||||||
|
"TestNameServer"
|
||||||
|
"TestBCSetup"
|
||||||
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
"Socket"
|
"Socket"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"Pyro5"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Distributed object middleware for Python (RPC)";
|
description = "Distributed object middleware for Python (RPC)";
|
||||||
homepage = "https://github.com/irmen/Pyro5";
|
homepage = "https://github.com/irmen/Pyro5";
|
||||||
|
changelog = "https://github.com/irmen/Pyro5/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue