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";
|
2018-04-04 20:03:08 +02:00
|
|
|
version = "1.1";
|
2018-03-31 18:13:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:03:08 +02:00
|
|
|
sha256 = "a5b39090fde3ec3294c9d7030b8eda935b42222160a66a922e0c8aea34cabfdf";
|
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;
|
|
|
|
};
|
|
|
|
}
|