2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-17 20:00:59 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, jsonpatch
|
|
|
|
, jsonschema
|
|
|
|
, jsonpointer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "warlock";
|
2019-05-30 07:49:53 +01:00
|
|
|
version = "1.3.3";
|
2018-10-17 20:00:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:53 +01:00
|
|
|
sha256 = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090";
|
2018-10-17 20:00:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six jsonpatch jsonschema jsonpointer ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bcwaldon/warlock";
|
2018-10-17 20:00:59 +01:00
|
|
|
description = "Python object model built on JSON schema and JSON patch";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|