2018-11-02 08:47:44 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Cerberus";
|
2019-11-19 10:36:55 +00:00
|
|
|
version = "1.1";
|
2018-11-02 08:47:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-19 10:36:55 +00:00
|
|
|
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
2018-11-02 08:47:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestrunner pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://python-cerberus.org/";
|
2018-11-02 08:47:44 +00:00
|
|
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|