2018-10-17 19:00:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, jsonpatch
|
|
|
|
, jsonschema
|
|
|
|
, jsonpointer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "warlock";
|
2018-10-24 03:56:27 +00:00
|
|
|
version = "1.3.0";
|
2018-10-17 19:00:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 03:56:27 +00:00
|
|
|
sha256 = "01kajxvjp5n1p42n1kvv7rfcj2yyr44zmmzk48pywryfixr3yh6p";
|
2018-10-17 19:00:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six jsonpatch jsonschema jsonpointer ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/bcwaldon/warlock;
|
|
|
|
description = "Python object model built on JSON schema and JSON patch";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|