75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
32 lines
741 B
Nix
32 lines
741 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, isPy27
|
|
, ruamel_yaml
|
|
, python-dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.3.2";
|
|
pname = "strictyaml";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "637399fd80dccc95f5287b2606b74098b23c08031b7ec33c5afb314ccbf10948";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ruamel_yaml python-dateutil ];
|
|
|
|
# Library tested with external tool
|
|
# https://hitchdev.com/approach/contributing-to-hitch-libraries/
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "strictyaml" ];
|
|
|
|
meta = with lib; {
|
|
description = "Strict, typed YAML parser";
|
|
homepage = "https://hitchdev.com/strictyaml/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|