2018-04-06 18:46:49 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
2018-03-31 18:13:52 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Cerberus";
|
2019-05-30 08:49:49 +02:00
|
|
|
version = "1.3.1";
|
2018-03-31 18:13:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 08:49:49 +02:00
|
|
|
sha256 = "0be48fc0dc84f83202a5309c0aa17cd5393e70731a1698a50d118b762fbe6875";
|
2018-03-31 18:13:52 +02:00
|
|
|
};
|
|
|
|
|
2018-04-06 18:46:49 +02:00
|
|
|
checkInputs = [ pytestrunner pytest ];
|
|
|
|
|
2018-03-31 18:13:52 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://python-cerberus.org/;
|
|
|
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|