depot/third_party/nixpkgs/pkgs/development/python-modules/modeled/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

44 lines
837 B
Nix

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
zetup,
six,
moretools,
path,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "modeled";
version = "0.1.8";
format = "setuptools";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
};
buildInputs = [ zetup ];
propagatedBuildInputs = [
six
moretools
path
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "modeled" ];
meta = with lib; {
broken =
(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
description = "Universal data modeling for Python";
homepage = "https://github.com/modeled/modeled";
license = licenses.lgpl3Only;
maintainers = [ ];
};
}