diff options
author | Ryan Burns <rtburns-jpl@users.noreply.github.com> | 2020-10-20 12:33:06 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-10-20 21:34:32 -0700 |
commit | 40e9a2340ab6b322f1aaf902f5c6cd0bf13667c6 (patch) | |
tree | 1c4595b6b95c4341ce999b8b63776268d3d20f92 /pkgs/development/python-modules/yamale | |
parent | 70f272ccaf47e3dee3c64f7be229039368fe9985 (diff) |
python3Packages.yamale: init at 3.0.4
Diffstat (limited to 'pkgs/development/python-modules/yamale')
-rw-r--r-- | pkgs/development/python-modules/yamale/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yamale/default.nix b/pkgs/development/python-modules/yamale/default.nix new file mode 100644 index 0000000000000..d6fb713185d73 --- /dev/null +++ b/pkgs/development/python-modules/yamale/default.nix @@ -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 ]; + }; +} |