mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 18:44:07 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
38 lines
763 B
Nix
38 lines
763 B
Nix
{ stdenv
|
|
, lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, zetup
|
|
, six
|
|
, moretools
|
|
, path
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "modeled";
|
|
version = "0.1.8";
|
|
|
|
src = fetchPypi {
|
|
extension = "zip";
|
|
inherit pname version;
|
|
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
|
|
};
|
|
|
|
buildInputs = [ zetup ];
|
|
|
|
propagatedBuildInputs = [ six moretools path ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "modeled" ];
|
|
|
|
meta = with lib; {
|
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
|
description = "Universal data modeling for Python";
|
|
homepage = "https://github.com/modeled/modeled";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|