mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
39 lines
767 B
Nix
39 lines
767 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.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
|
description = "Universal data modeling for Python";
|
|
homepage = "https://github.com/modeled/modeled";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|