Loading pkgs/development/python-modules/param/default.nix +21 −10 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder # build-system , hatchling , hatch-vcs # tests , numpy , pandas , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "param"; version = "1.13.0"; format = "setuptools"; version = "2.0.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -16,19 +25,21 @@ buildPythonPackage rec { owner = "holoviz"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-5b3UTzb7OXBwcyYyDVCGLUpWxNOYZ3cv8Gfw+x7jsBI="; hash = "sha256-8R1+utY3e3py4iJTgOVfzt5Y7bp2Rn6OfoITGuOsb5c="; }; nativeBuildInputs = [ hatchling hatch-vcs ]; nativeCheckInputs = [ numpy pandas pytest-asyncio pytestCheckHook ]; postPatch = '' # Version is not set properly substituteInPlace setup.py \ --replace 'version=get_setup_version("param"),' 'version="${version}",' ''; pythonImportsCheck = [ "param" ]; Loading Loading
pkgs/development/python-modules/param/default.nix +21 −10 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder # build-system , hatchling , hatch-vcs # tests , numpy , pandas , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "param"; version = "1.13.0"; format = "setuptools"; version = "2.0.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -16,19 +25,21 @@ buildPythonPackage rec { owner = "holoviz"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-5b3UTzb7OXBwcyYyDVCGLUpWxNOYZ3cv8Gfw+x7jsBI="; hash = "sha256-8R1+utY3e3py4iJTgOVfzt5Y7bp2Rn6OfoITGuOsb5c="; }; nativeBuildInputs = [ hatchling hatch-vcs ]; nativeCheckInputs = [ numpy pandas pytest-asyncio pytestCheckHook ]; postPatch = '' # Version is not set properly substituteInPlace setup.py \ --replace 'version=get_setup_version("param"),' 'version="${version}",' ''; pythonImportsCheck = [ "param" ]; Loading