2017-09-26 19:31:13 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyblake2";
|
2017-12-30 12:25:52 +01:00
|
|
|
version = "1.1.0";
|
2017-09-26 19:31:13 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:25:52 +01:00
|
|
|
sha256 = "3a850036bf42053c74bfc52c063323ca78e40ba1f326b01777da5750a143631a";
|
2017-09-26 19:31:13 +02: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;
|
|
|
|
};
|
|
|
|
}
|