From 2807df1672bece315a25b40b90f05972ae7c9ad5 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 26 Dec 2020 04:20:00 +0000 Subject: [PATCH 1/2] pythonPackages.pykka: 2.0.1 -> 2.0.3 --- .../python-modules/pykka/default.nix | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/pykka/default.nix b/pkgs/development/python-modules/pykka/default.nix index 6f76ca9850fe..020e946699d7 100644 --- a/pkgs/development/python-modules/pykka/default.nix +++ b/pkgs/development/python-modules/pykka/default.nix @@ -1,27 +1,20 @@ -{ stdenv -, buildPythonPackage -, fetchFromGitHub -}: +{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-mock }: buildPythonPackage rec { - pname = "pykka"; - version = "2.0.1"; + pname = "Pykka"; + version = "2.0.3"; - src = fetchFromGitHub { - owner = "jodal"; - repo = pname; - rev = "refs/tags/v${version}"; - sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs"; + src = fetchPypi { + inherit pname version; + sha256 = "4b9d2363365b3455a0204bf163f09bd351d24b938c618c79d975a9510e128e95"; }; - # There are no tests - doCheck = false; + checkInputs = [ pytestCheckHook pytest-mock ]; - meta = with stdenv.lib; { - homepage = "http://www.pykka.org"; + meta = with lib; { + homepage = "https://www.pykka.org/"; description = "A Python implementation of the actor model"; + changelog = "https://github.com/jodal/pykka/blob/v${version}/docs/changes.rst"; license = licenses.asl20; - maintainers = []; }; - } From 22a277f655d9342bf05852ed9ccd4a388844c26a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 27 Dec 2020 04:20:00 +0000 Subject: [PATCH 2/2] pythonPackages.pykka: add marsam to maintainers --- pkgs/development/python-modules/pykka/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pykka/default.nix b/pkgs/development/python-modules/pykka/default.nix index 020e946699d7..075b607c772e 100644 --- a/pkgs/development/python-modules/pykka/default.nix +++ b/pkgs/development/python-modules/pykka/default.nix @@ -15,6 +15,7 @@ buildPythonPackage rec { homepage = "https://www.pykka.org/"; description = "A Python implementation of the actor model"; changelog = "https://github.com/jodal/pykka/blob/v${version}/docs/changes.rst"; + maintainers = [ maintainers.marsam ]; license = licenses.asl20; }; }