Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.pykwalify: init at 1.7.0 #91965

Merged
merged 1 commit into from Jul 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 53 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -7539,6 +7539,8 @@ in {

webrtcvad = callPackage ../development/python-modules/webrtcvad { };

pykwalify = callPackage ../development/python-modules/pykwalify { };

wfuzz = callPackage ../development/python-modules/wfuzz { };

wget = callPackage ../development/python-modules/wget { };
Expand Down