Merge pull request #107629 from marsam/update-pykka

This commit is contained in:
Sandro 2020-12-28 02:30:12 +01:00 committed by GitHub
commit 1691ceee22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,27 +1,21 @@
{ 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";
maintainers = [ maintainers.marsam ];
license = licenses.asl20;
maintainers = [];
};
}