My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/validobj/default.nix

31 lines
768 B

{ lib
, buildPythonPackage
, fetchPypi
, flit
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "validobj";
version = "0.5.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "430b0b56931a2cebdb857a9fe9da2467c06a3b4db37b728e7f1a8706e8887705";
};
nativeBuildInputs = [ flit ];
checkInputs = [ hypothesis pytestCheckHook ];
pythonImportsCheck = [ "validobj" ];
meta = with lib; {
description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
homepage = "https://github.com/Zaharid/validobj";
license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}