depot/third_party/nixpkgs/pkgs/development/python-modules/warlock/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
549 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, jsonpatch
, jsonschema
, jsonpointer
}:
buildPythonPackage rec {
pname = "warlock";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090";
};
propagatedBuildInputs = [ six jsonpatch jsonschema jsonpointer ];
meta = with lib; {
homepage = "https://github.com/bcwaldon/warlock";
description = "Python object model built on JSON schema and JSON patch";
license = licenses.asl20;
};
}