From a5aae4c04c0bd81e077c2ef45e740083299b78ea Mon Sep 17 00:00:00 2001 From: HaoZeke Date: Wed, 9 Jan 2019 18:50:59 +0530 Subject: [PATCH 1/2] maintainers: Add myself (HaoZeke) to the list --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2d892408712d..27f5d959cedc 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1754,6 +1754,11 @@ email = "commits@schurr.at"; github = "hansjoergschurr"; name = "Hans-Jörg Schurr"; + }; + HaoZeke = { + email = "r95g10@gmail.com"; + github = "haozeke"; + name = "Rohit Goswami"; }; haslersn = { email = "haslersn@fius.informatik.uni-stuttgart.de"; From efe4a6d205cd8f000240316b5bc328933222254b Mon Sep 17 00:00:00 2001 From: HaoZeke Date: Wed, 9 Jan 2019 18:59:56 +0530 Subject: [PATCH 2/2] conan: 1.6.0 -> 1.11.2 --- .../tools/build-managers/conan/default.nix | 45 ++++++++----------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/pkgs/development/tools/build-managers/conan/default.nix b/pkgs/development/tools/build-managers/conan/default.nix index 3725760c1d6c..d383832c4b59 100644 --- a/pkgs/development/tools/build-managers/conan/default.nix +++ b/pkgs/development/tools/build-managers/conan/default.nix @@ -1,80 +1,73 @@ -{ lib, python3, fetchpatch, git }: +{ lib, python3, git }: let newPython = python3.override { packageOverrides = self: super: { distro = super.distro.overridePythonAttrs (oldAttrs: rec { - version = "1.1.0"; + version = "1.2.0"; src = oldAttrs.src.override { inherit version; sha256 = "1vn1db2akw98ybnpns92qi11v94hydwp130s8753k6ikby95883j"; }; }); node-semver = super.node-semver.overridePythonAttrs (oldAttrs: rec { - version = "0.2.0"; + version = "0.6.1"; src = oldAttrs.src.override { inherit version; - sha256 = "1080pdxrvnkr8i7b7bk0dfx6cwrkkzzfaranl7207q6rdybzqay3"; + sha256 = "1dv6mjsm67l1razcgmq66riqmsb36wns17mnipqr610v0z0zf5j0"; }; }); - astroid = super.astroid.overridePythonAttrs (oldAttrs: rec { - version = "1.6.5"; + future = super.future.overridePythonAttrs (oldAttrs: rec { + version = "0.16.0"; src = oldAttrs.src.override { inherit version; - sha256 = "fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a"; + sha256 = "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773"; }; }); - pylint = super.pylint.overridePythonAttrs (oldAttrs: rec { - version = "1.8.4"; + tqdm = super.tqdm.overridePythonAttrs (oldAttrs: rec { + version = "4.28.1"; src = oldAttrs.src.override { inherit version; - sha256 = "34738a82ab33cbd3bb6cd4cef823dbcabdd2b6b48a4e3a3054a2bbbf0c712be9"; + sha256 = "1fyybgbmlr8ms32j7h76hz5g9xc6nf0644mwhc40a0s5k14makav"; }; - }); }; }; in newPython.pkgs.buildPythonApplication rec { - version = "1.6.0"; + version = "1.11.2"; pname = "conan"; src = newPython.pkgs.fetchPypi { inherit pname version; - sha256 = "386476d3af1fa390e4cd96e737876e7d1f1c0bca09519e51fd44c1bb45990caa"; + sha256 = "0b4r9n6541jjp2lsdzc1nc6mk1a953w0d4ynjss3ns7pp89y4nd4"; }; - - # Bump PyYAML to 3.13 - patches = fetchpatch { - url = https://github.com/conan-io/conan/commit/9d3d7a5c6e89b3aa321735557e5ad3397bb80568.patch; - sha256 = "1qdy6zj3ypl1bp9872mzaqg1gwigqldxb1glvrkq3p4za62p546k"; - }; - checkInputs = [ git ] ++ (with newPython.pkgs; [ + codecov + mock + node-semver nose parameterized - mock webtest - codecov ]); propagatedBuildInputs = with newPython.pkgs; [ - requests fasteners pyyaml pyjwt colorama patch - bottle pluginbase six distro pylint node-semver - future pygments mccabe deprecation + colorama deprecation distro fasteners bottle + future node-semver patch pygments pluginbase + pyjwt pylint pyyaml requests six tqdm ]; checkPhase = '' export HOME="$TMP/conan-home" mkdir -p "$HOME" - nosetests conans.test ''; meta = with lib; { homepage = https://conan.io; description = "Decentralized and portable C/C++ package manager"; license = licenses.mit; + maintainers = with maintainers; [ HaoZeke ]; platforms = platforms.linux; }; }