diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2020-07-01 15:11:14 -0400 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-07-01 12:45:39 -0700 |
commit | 2396eb646d75875722a939688ba808a495893e20 (patch) | |
tree | 4afbed744d7eacf29c3b23a3985eb29d12c025b7 /pkgs/development/tools/build-managers/conan | |
parent | ea5a79c4a33a154fd18bcd42be3a88928f0c37b2 (diff) |
conan: 1.25.0 -> 1.27.0
Switch to fetching source from GitHub vs PyPi, which will enable running packaging tests in the future.
Diffstat (limited to 'pkgs/development/tools/build-managers/conan')
-rw-r--r-- | pkgs/development/tools/build-managers/conan/default.nix | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/pkgs/development/tools/build-managers/conan/default.nix b/pkgs/development/tools/build-managers/conan/default.nix index 9ad9ac74fb28d..e09277e498d2d 100644 --- a/pkgs/development/tools/build-managers/conan/default.nix +++ b/pkgs/development/tools/build-managers/conan/default.nix @@ -1,4 +1,4 @@ -{ lib, python3, git, pkgconfig }: +{ lib, python3, fetchFromGitHub, git, pkgconfig }: # Note: # Conan has specific dependency demands; check @@ -39,12 +39,14 @@ let newPython = python3.override { }; in newPython.pkgs.buildPythonApplication rec { - version = "1.25.0"; + version = "1.27.0"; pname = "conan"; - src = newPython.pkgs.fetchPypi { - inherit pname version; - sha256 = "1wgmx6s4h5m6zixb3wlaicy56rsqcy2srzmvii80xdx9g5wvi9pv"; + src = fetchFromGitHub { + owner = "conan-io"; + repo = "conan"; + rev = version; + sha256 = "0ncqs1p4g23fmzgdmwppgxr8w275h38hgjdzs456cgivz8xs9rjl"; }; propagatedBuildInputs = with newPython.pkgs; [ @@ -75,17 +77,13 @@ in newPython.pkgs.buildPythonApplication rec { ] ++ (with newPython.pkgs; [ codecov mock - pytest - node-semver nose parameterized webtest ]); - # Conan 1.14.0 has removed all tests from the Pypi source dist: - # https://github.com/conan-io/conan/pull/4713 - # We have recommended they be added back: - # https://github.com/conan-io/conan/issues/4563#issuecomment-602225083 + # TODO: reenable tests now that we fetch tests w/ the source from GitHub. + # Not enabled right now due to time constraints/failing tests that I didn't have time to track down doCheck = false; postPatch = '' |