2019-06-17 23:13:02 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
|
|
|
, ruamel_yaml
|
|
|
|
, python-dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-08 14:44:21 +00:00
|
|
|
version = "1.0.3";
|
2019-06-17 23:13:02 +00:00
|
|
|
pname = "strictyaml";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 14:44:21 +00:00
|
|
|
sha256 = "05masza4jvvnh2msswpx4l29w1pv92zpy473yd2ndwcclcrk3rli";
|
2019-06-17 23:13:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ruamel_yaml python-dateutil ];
|
|
|
|
|
|
|
|
# Library tested with external tool
|
|
|
|
# https://hitchdev.com/approach/contributing-to-hitch-libraries/
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Strict, typed YAML parser";
|
|
|
|
homepage = https://hitchdev.com/strictyaml/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|