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: 8fc1bd6ec352
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 000840022209
Choose a head ref
  • 5 commits
  • 5 files changed
  • 5 contributors

Commits on Oct 25, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    thoughtpolice Austin Seipp
    Copy the full SHA
    b83908f View commit details

Commits on Oct 29, 2019

  1. python3Packages.html2text: fix build

    Jonathan Ringer committed Oct 29, 2019
    Copy the full SHA
    753ab3c View commit details
  2. Copy the full SHA
    94a8062 View commit details
  3. ocamlPackages.ctypes: 0.13.1 → 0.15.1

    ocamlPackages.integers: 0.2.2 → 0.3.0
    vbgl committed Oct 29, 2019
    Copy the full SHA
    a25381b View commit details
  4. Merge pull request #71984 from Ma27/bump-neomutt

    neomutt: 20180716 -> 2019-10-25
    gebner authored Oct 29, 2019
    Copy the full SHA
    0008400 View commit details
6 changes: 3 additions & 3 deletions pkgs/applications/networking/mailreaders/neomutt/default.nix
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@
}:

stdenv.mkDerivation rec {
version = "20180716";
version = "2019-10-25";
pname = "neomutt";

src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = "neomutt-${version}";
sha256 = "0im2kkahkr04q04irvcimfawxi531ld6wrsa92r2m7l10gmijkl8";
rev = version;
sha256 = "0hy6rxgm3acjqxpf4ss7391kps4g06fbjhbpgv1jdrj1y9kv0rm1";
};

buildInputs = [
22 changes: 12 additions & 10 deletions pkgs/development/ocaml-modules/ctypes/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{ stdenv, buildOcaml, fetchzip, libffi, pkgconfig, ncurses, integers }:
{ stdenv, fetchzip, ocaml, findlib, libffi, pkgconfig, ncurses, integers }:

buildOcaml {
name = "ctypes";
version = "0.13.1";
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
then throw "ctypes is not available for OCaml ${ocaml.version}"
else

minimumSupportedOcamlVersion = "4";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ctypes-${version}";
version = "0.15.1";

src = fetchzip {
url = "https://github.com/ocamllabs/ocaml-ctypes/archive/67e711ec891e087fbe1e0b4665aa525af4eaa409.tar.gz";
sha256 = "1z84s5znr3lj84rzv6m37xxj9h7fwx4qiiykx3djf52qgk1rb2xb";
url = "https://github.com/ocamllabs/ocaml-ctypes/archive/${version}.tar.gz";
sha256 = "0adas974bwinn8jidb6chljkpd70s041h2a969dicsj0xsg6wys6";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ];
buildInputs = [ ocaml findlib ncurses ];
propagatedBuildInputs = [ integers libffi ];

hasSharedObjects = true;

buildPhase = ''
make XEN=false libffi.config ctypes-base ctypes-stubs
make XEN=false ctypes-foreign
'';

installPhase = ''
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
make install XEN=false
'';

@@ -31,5 +32,6 @@ buildOcaml {
description = "Library for binding to C libraries using pure OCaml";
license = licenses.mit;
maintainers = [ maintainers.ericbmerritt ];
inherit (ocaml.meta) platforms;
};
}
22 changes: 9 additions & 13 deletions pkgs/development/ocaml-modules/integers/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
{ lib, fetchzip, buildDunePackage }:

stdenv.mkDerivation {
name = "ocaml${ocaml.version}-integers-0.2.2";
buildDunePackage rec {
pname = "integers";
version = "0.3.0";

src = fetchurl {
url = https://github.com/ocamllabs/ocaml-integers/releases/download/v0.2.2/integers-0.2.2.tbz;
sha256 = "08b1ljw88ny3l0mdq6xmffjk8anfc77igryva5jz1p6f4f746ywk";
src = fetchzip {
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
sha256 = "1yhif5zh4srh63mhimfx3p5ljpb3lixjdd3i9pjnbj2qgpzlqj8p";
};

buildInputs = [ ocaml findlib ocamlbuild topkg ];

inherit (topkg) buildPhase installPhase;

meta = {
description = "Various signed and unsigned integer types for OCaml";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
homepage = https://github.com/ocamllabs/ocaml-integers;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.vbgl ];
};
}
23 changes: 15 additions & 8 deletions pkgs/development/python-modules/html2text/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pytest
}:

buildPythonPackage rec {
pname = "html2text";
version = "2019.9.26";
disabled = pythonOlder "3.5";

src = fetchPypi {
inherit pname version;
sha256 = "6f56057c5c2993b5cc5b347cb099bdf6d095828fef1b53ef4e2a2bf2a1be9b4f";
src = fetchFromGitHub {
owner = "Alir3z4";
repo = pname;
rev = version;
sha256 = "1gzcx4n6q71plq4zvb1z0fy3brrln0qqrd6jc89iiqn7r1ix8h87";
};

meta = with stdenv.lib; {
# python setup.py test is broken, use pytest
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';

meta = with lib; {
description = "Turn HTML into equivalent Markdown-structured text";
homepage = https://github.com/Alir3z4/html2text/;
license = licenses.gpl3;
};

}
19 changes: 16 additions & 3 deletions pkgs/development/python-modules/isort/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, futures, backports_functools_lru_cache, mock, pytest }:
{ lib, buildPythonPackage, fetchPypi, setuptools, isPy27, futures
, backports_functools_lru_cache, mock, pytest
}:

let
skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
@@ -12,13 +14,24 @@ in buildPythonPackage rec {
sha256 = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1";
};

propagatedBuildInputs = lib.optionals isPy27 [ futures backports_functools_lru_cache ];
propagatedBuildInputs = [
setuptools
] ++ lib.optionals isPy27 [ futures backports_functools_lru_cache ];

checkInputs = [ mock pytest ];

# isort excludes paths that contain /build/, so test fixtures don't work with TMPDIR=/build/
checkPhase = ''
# isort excludes paths that contain /build/, so test fixtures don't work
# with TMPDIR=/build/
PATH=$out/bin:$PATH TMPDIR=/tmp/ pytest ${testOpts}
# Confirm that the produced executable script is wrapped correctly and runs
# OK, by launching it in a subshell without PYTHONPATH
(
unset PYTHONPATH
echo "Testing that `isort --version-number` returns OK..."
$out/bin/isort --version-number
)
'';

meta = with lib; {