2018-10-17 20:00:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, jsonpatch
|
|
|
|
, jsonschema
|
|
|
|
, jsonpointer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "warlock";
|
2018-10-24 04:56:27 +01:00
|
|
|
version = "1.3.0";
|
2018-10-17 20:00:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 04:56:27 +01:00
|
|
|
sha256 = "01kajxvjp5n1p42n1kvv7rfcj2yyr44zmmzk48pywryfixr3yh6p";
|
2018-10-17 20:00:59 +01: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|