python3Packages.yamale: init at 3.0.4

This commit is contained in:
Ryan Burns 2020-10-20 12:33:06 -07:00 committed by Jon
parent 70f272ccaf
commit 40e9a2340a
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytest
, pyyaml
, ruamel_yaml
}:
buildPythonPackage rec {
pname = "yamale";
version = "3.0.4";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "23andMe";
repo = pname;
rev = version;
sha256 = "1xjvah4r3gpwk4zxql3c9jpllb34k175fm6iq1zvsd2vv2fwf8s2";
};
propagatedBuildInputs = [
pyyaml
ruamel_yaml
];
checkInputs = [
pytest
];
meta = with lib; {
description = "A schema and validator for YAML.";
homepage = "https://github.com/23andMe/Yamale";
license = licenses.mit;
maintainers = with maintainers; [ rtburns-jpl ];
};
}

View file

@ -27991,6 +27991,8 @@ in
yadm = callPackage ../applications/version-management/yadm { };
yamale = with python3Packages; toPythonApplication yamale;
yamdi = callPackage ../tools/video/yamdi { };
yandex-disk = callPackage ../tools/filesystems/yandex-disk { };

View file

@ -7687,6 +7687,8 @@ in {
yahooweather = callPackage ../development/python-modules/yahooweather { };
yamale = callPackage ../development/python-modules/yamale { };
yamllint = callPackage ../development/python-modules/yamllint { };
yamlordereddictloader = callPackage ../development/python-modules/yamlordereddictloader { };