Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0223d5cbd10f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 88f727936e94
Choose a head ref
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on Oct 17, 2019

  1. poppler: 0.79.0 -> 0.81.0

    Jonathan Ringer committed Oct 17, 2019
    Copy the full SHA
    09e0bc8 View commit details
  2. pythonPackages.pycurl: fix tests

    Jonathan Ringer committed Oct 17, 2019
    Copy the full SHA
    621b2be View commit details
  3. pythonPackages.aws-lambda-builds: 0.3.0 -> 0.4.0

    Jonathan Ringer committed Oct 17, 2019
    Copy the full SHA
    1ecfdac View commit details
  4. aws-sam-cli: 0.16.1 -> 0.22.0

    Jonathan Ringer committed Oct 17, 2019
    Copy the full SHA
    88f7279 View commit details
12 changes: 2 additions & 10 deletions pkgs/development/libraries/poppler/default.nix
Original file line number Diff line number Diff line change
@@ -8,27 +8,19 @@
}:

let # beware: updates often break cups-filters build
version = "0.79.0";
version = "0.81.0";
mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
in
stdenv.mkDerivation rec {
name = "poppler-${suffix}-${version}";

src = fetchurl {
url = "${meta.homepage}/poppler-${version}.tar.xz";
sha256 = "1j18jlv1q6h21azb939gqjsgcbsh5qcd8dwxdmad54p5ixha91gr";
sha256 = "00pykc7nym3xg0wc60awv0i35zwdfyn0igb6jrnb6rsv0c5h4b91";
};

outputs = [ "out" "dev" ];

patches = [
(fetchpatch {
name = "CVE-2019-9959.patch";
url = "https://gitlab.freedesktop.org/poppler/poppler/commit/68ef84e5968a4249c2162b839ca6d7975048a557.patch";
sha256 = "17a3qs74fnnrhjys23f4aw5y7yfsk5d507jcj4hh1bndqv6dpwg1";
})
];

buildInputs = [ libiconv libintl ] ++ lib.optional withData poppler_data;

# TODO: reduce propagation to necessary libs
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@

buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "0.3.0";
version = "0.4.0";

# No tests available in PyPI tarball
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "v${version}";
sha256 = "1c3r3iz29s68mlmdsxbl65x5zqx25b89d40rir6729ck4gll4dyd";
sha256 = "1z2l9qm6mxp90zl64i9j2cmlzn8n7sc8yfpqh14fi9ay887ayjs1";
};

# Package is not compatible with Python 3.5
@@ -35,7 +35,7 @@ buildPythonPackage rec {

checkPhase = ''
export PATH=$out/bin:$PATH
pytest tests/functional
pytest tests/functional -k 'not can_invoke_pip'
'';

meta = with lib; {
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/pycurl/default.nix
Original file line number Diff line number Diff line change
@@ -41,7 +41,8 @@ buildPythonPackage rec {
and not test_keyfunction_bogus_return \
and not test_libcurl_ssl_gnutls \
and not test_libcurl_ssl_nss \
and not test_libcurl_ssl_openssl"
and not test_libcurl_ssl_openssl" \
--ignore=tests/getinfo_test.py
'';

preConfigure = ''
23 changes: 15 additions & 8 deletions pkgs/development/tools/aws-sam-cli/default.nix
Original file line number Diff line number Diff line change
@@ -5,21 +5,26 @@
let
py = python.override {
packageOverrides = self: super: {
click = super.click.overridePythonAttrs (oldAttrs: rec {
version = "6.7";

aws-sam-translator = super.aws-sam-translator.overridePythonAttrs (oldAttrs: rec {
version = "1.14.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b";
sha256 = "1cghn1m7ana9s8kyg61dwp9mrism5l04vy5rj1wnmksz8vzmnq9w";
};
});

aws-sam-translator = super.aws-sam-translator.overridePythonAttrs (oldAttrs: rec {
version = "1.10.0";
jsonschema = super.jsonschema.overridePythonAttrs (oldAttrs: rec {
version = "3.1.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "0e1fa094c6791b233f5e73f2f0803ec6e0622f2320ec5a969f0986855221b92b";
sha256 = "0grwi50v3vahvcijlw6g6q55yc5jyj0p1cmiq3rkycxnfr16i81g";
};
nativeBuildInputs = [ super.setuptools_scm ];
propagatedBuildInputs = with super; oldAttrs.propagatedBuildInputs ++ [ pyrsistent attrs importlib-metadata ];
doCheck = false;
});

};
};

@@ -29,11 +34,11 @@ with py.pkgs;

buildPythonApplication rec {
pname = "aws-sam-cli";
version = "0.16.1";
version = "0.22.0";

src = fetchPypi {
inherit pname version;
sha256 = "2dd68800723c76f52980141ba704e105d77469b6ba465781fbc9120e8121e76c";
sha256 = "1flbvqlj5llz7nrszmcf00v2a1pa36alv90r1l8lwn8zid5aabkn";
};

# Tests are not included in the PyPI package
@@ -55,8 +60,10 @@ buildPythonApplication rec {
six
];

# fix over-restrictive version bounds
postPatch = ''
substituteInPlace requirements/base.txt --replace "requests==2.20.1" "requests==2.22.0"
substituteInPlace requirements/base.txt --replace "serverlessrepo==0.1.9" "serverlessrepo~=0.1.9"
substituteInPlace requirements/base.txt --replace "six~=1.11.0" "six~=1.12.0"
substituteInPlace requirements/base.txt --replace "PyYAML~=3.12" "PyYAML~=5.1"
'';
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -694,7 +694,7 @@ in

aws_shell = callPackage ../tools/admin/aws_shell { };

aws-sam-cli = callPackage ../development/tools/aws-sam-cli { };
aws-sam-cli = callPackage ../development/tools/aws-sam-cli { python = python3; };

aws-vault = callPackage ../tools/admin/aws-vault { };