2017-09-26 18:31:13 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyblake2";
|
2018-05-09 15:49:44 +01:00
|
|
|
version = "1.1.2";
|
2017-09-26 18:31:13 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-09 15:49:44 +01:00
|
|
|
sha256 = "5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f";
|
2017-09-26 18:31:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires setting up sphinx doctest
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "BLAKE2 hash function extension module";
|
|
|
|
license = lib.licenses.publicDomain;
|
|
|
|
homepage = https://github.com/dchest/pyblake2;
|
|
|
|
};
|
|
|
|
}
|