nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 31 lines 768 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, flit 5, hypothesis 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "validobj"; 11 version = "0.5.1"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "430b0b56931a2cebdb857a9fe9da2467c06a3b4db37b728e7f1a8706e8887705"; 17 }; 18 19 nativeBuildInputs = [ flit ]; 20 21 checkInputs = [ hypothesis pytestCheckHook ]; 22 23 pythonImportsCheck = [ "validobj" ]; 24 25 meta = with lib; { 26 description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects"; 27 homepage = "https://github.com/Zaharid/validobj"; 28 license = with licenses; [ mit ]; 29 maintainers = with maintainers; [ veprbl ]; 30 }; 31}