ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / swagger-spec-validator / default.nix
blobec15516b16b66b54fb45ad05df479f949fa4bf0a
1 { lib, buildPythonPackage, fetchFromGitHub, pyyaml, jsonschema, six, pytestCheckHook, mock }:
3 buildPythonPackage rec {
4   pname = "swagger-spec-validator";
5   version = "2.7.4";
7   src = fetchFromGitHub {
8     owner = "Yelp";
9     repo = "swagger_spec_validator";
10     rev = "v${version}";
11     sha256 = "sha256-7+kFmtzeze0QlGf6z/M4J4F7z771a5NWewB1S3+bxn4=";
12   };
14   propagatedBuildInputs = [
15     pyyaml
16     jsonschema
17     six
18   ];
20   checkInputs = [
21     pytestCheckHook
22     mock
23   ];
25   pythonImportsCheck = [ "swagger_spec_validator" ];
27   meta = with lib; {
28     homepage = "https://github.com/Yelp/swagger_spec_validator";
29     license = licenses.asl20;
30     description = "Validation of Swagger specifications";
31     maintainers = with maintainers; [ vanschelven ];
32   };