Loading pkgs/applications/version-management/datalad/default.nix +64 −41 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex, p7zip, curl, coreutils }: { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex, p7zip, curl, coreutils, }: python3.pkgs.buildPythonApplication rec { pname = "datalad"; Loading @@ -16,11 +27,16 @@ python3.pkgs.buildPythonApplication rec { --replace-fail "/bin/ls" "${coreutils}/bin/ls" ''; nativeBuildInputs = [ installShellFiles git ]; nativeBuildInputs = [ installShellFiles git ]; build-system = [ python3.pkgs.setuptools ]; dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [ # core platformdirs chardet Loading Loading @@ -56,7 +72,8 @@ python3.pkgs.buildPythonApplication rec { duecredit # python>=3.8 distro ] ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] ] ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] ++ lib.optionals (python3.pythonOlder "3.9") [ importlib-resources ] ++ lib.optionals (python3.pythonOlder "3.10") [ importlib-metadata ] ++ lib.optionals (python3.pythonOlder "3.11") [ typing_extensions ]; Loading Loading @@ -161,7 +178,13 @@ python3.pkgs.buildPythonApplication rec { "test_wtf" ]; nativeCheckInputs = [ p7zip python3.pkgs.pytestCheckHook git-annex curl python3.pkgs.httpretty ]; nativeCheckInputs = [ p7zip python3.pkgs.pytestCheckHook git-annex curl python3.pkgs.httpretty ]; pythonImportsCheck = [ "datalad" ]; Loading Loading
pkgs/applications/version-management/datalad/default.nix +64 −41 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex, p7zip, curl, coreutils }: { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex, p7zip, curl, coreutils, }: python3.pkgs.buildPythonApplication rec { pname = "datalad"; Loading @@ -16,11 +27,16 @@ python3.pkgs.buildPythonApplication rec { --replace-fail "/bin/ls" "${coreutils}/bin/ls" ''; nativeBuildInputs = [ installShellFiles git ]; nativeBuildInputs = [ installShellFiles git ]; build-system = [ python3.pkgs.setuptools ]; dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [ # core platformdirs chardet Loading Loading @@ -56,7 +72,8 @@ python3.pkgs.buildPythonApplication rec { duecredit # python>=3.8 distro ] ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] ] ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] ++ lib.optionals (python3.pythonOlder "3.9") [ importlib-resources ] ++ lib.optionals (python3.pythonOlder "3.10") [ importlib-metadata ] ++ lib.optionals (python3.pythonOlder "3.11") [ typing_extensions ]; Loading Loading @@ -161,7 +178,13 @@ python3.pkgs.buildPythonApplication rec { "test_wtf" ]; nativeCheckInputs = [ p7zip python3.pkgs.pytestCheckHook git-annex curl python3.pkgs.httpretty ]; nativeCheckInputs = [ p7zip python3.pkgs.pytestCheckHook git-annex curl python3.pkgs.httpretty ]; pythonImportsCheck = [ "datalad" ]; Loading