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