forked from mirrors/nixpkgs
python310Packages.magic-wormhole-mailbox-server: add changelog to meta
- add comment to patch - update ordering
This commit is contained in:
parent
10c516b2b6
commit
fc218da605
|
@ -10,11 +10,15 @@
|
|||
, autobahn
|
||||
, treq
|
||||
, mock
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.1";
|
||||
pname = "magic-wormhole-mailbox-server";
|
||||
version = "0.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -23,6 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Remove the 'U' open mode removed, https://github.com/magic-wormhole/magic-wormhole-mailbox-server/pull/34
|
||||
name = "fix-for-python-3.11.patch";
|
||||
url = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/commit/4b358859ba80de37c3dc0a5f67ec36909fd48234.patch";
|
||||
hash = "sha256-RzZ5kD+xhmFYusVzAbGE+CODXtJVR1zN2rZ+VGApXiQ=";
|
||||
|
@ -42,6 +47,7 @@ buildPythonPackage rec {
|
|||
mock
|
||||
twisted
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
trial -j$NIX_BUILD_CORES wormhole_mailbox_server
|
||||
'';
|
||||
|
@ -49,6 +55,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Securely transfer data between computers";
|
||||
homepage = "https://github.com/warner/magic-wormhole-mailbox-server";
|
||||
changelog = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/blob/${version}/NEWS.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue