Skip to content

Commit

Permalink
Update nix configuration (conan)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Stepanov <[email protected]>
  • Loading branch information
Evgeniy Stepanov committed Mar 24, 2022
1 parent 6c5bc76 commit 20fcb5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nixpkgs/conan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ let newPython = python3.override {
};

in newPython.pkgs.buildPythonApplication rec {
version = "1.40.0";
version = "1.43.1";
pname = "conan";

src = fetchFromGitHub {
owner = "conan-io";
repo = "conan";
rev = version;
sha256 = "1sb4w4wahasrwxkag1g79f135601sca6iafv4r4836f2vi48ka2d";
sha256 = "0jwi7smgy2d9m49igijqr2p4ncw5nksjbijj8fzjvf1lgxgnyjhr";
};

propagatedBuildInputs = with newPython.pkgs; [
Expand Down Expand Up @@ -99,6 +99,10 @@ in newPython.pkgs.buildPythonApplication rec {
# Not enabled right now due to time constraints/failing tests that I didn't have time to track down
doCheck = false;

postPatch = ''
substituteInPlace conans/requirements.txt --replace 'PyYAML>=3.11, <6.0' 'PyYAML>=3.11'
'';

meta = with lib; {
homepage = "https://conan.io";
description = "Decentralized and portable C/C++ package manager";
Expand Down

0 comments on commit 20fcb5d

Please sign in to comment.