diff options
author | Sirio Balmelli <sirio@b-ad.ch> | 2020-07-01 20:28:31 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-07-07 22:59:30 -0700 |
commit | 20e6d74a60fdbff8ffcf1b992c727543ea4e64d6 (patch) | |
tree | 9dae999ff153c8401fcdaf9c300d7036a87f4da9 /pkgs/development/python-modules/pykwalify | |
parent | 6ca34e4e363b2106cffd462b8f2716b6234c849d (diff) |
python3Packages.pykwalify: init at 1.7.0
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Diffstat (limited to 'pkgs/development/python-modules/pykwalify')
-rw-r--r-- | pkgs/development/python-modules/pykwalify/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pykwalify/default.nix b/pkgs/development/python-modules/pykwalify/default.nix new file mode 100644 index 0000000000000..d2b31ebbf4cd7 --- /dev/null +++ b/pkgs/development/python-modules/pykwalify/default.nix @@ -0,0 +1,53 @@ +{ lib, buildPythonPackage, fetchPypi +, dateutil, docopt, pyyaml +, pytest, testfixtures +}: + +buildPythonPackage rec { + version = "1.7.0"; + pname = "pykwalify"; + + src = fetchPypi { + inherit pname version; + sha256 = "1cnfzkg1b01f825ikpw2fhjclf9c8akxjfrbd1vc22x1lg2kk2vy"; + }; + + propagatedBuildInputs = [ + dateutil + docopt + pyyaml + ]; + + checkInputs = [ + pytest + testfixtures + ]; + + checkPhase = '' + pytest \ + -k 'not test_multi_file_support' + ''; + + meta = with lib; { + homepage = "https://github.com/Grokzen/pykwalify"; + description = "YAML/JSON validation library"; + longDescription = '' + This framework is a port with a lot of added functionality + of the Java version of the framework kwalify that can be found at + http://www.kuwata-lab.com/kwalify/ + + The original source code can be found at + http://sourceforge.net/projects/kwalify/files/kwalify-java/0.5.1/ + + The source code of the latest release that has been used can be found at + https://github.com/sunaku/kwalify. + Please note that source code is not the original authors code + but a fork/upload of the last release available in Ruby. + + The schema this library is based on and extended from: + http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema + ''; + license = licenses.mit; + maintainers = with maintainers; [ siriobalmelli ]; + }; +} |