Files
nixpkgs/pkgs/development/python-modules/modeled/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
831 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 = {
broken =
(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
description = "Universal data modeling for Python";
homepage = "https://github.com/modeled/modeled";
license = lib.licenses.lgpl3Only;
maintainers = [ ];
};
}