Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a04a485f89a9
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5ee72eef6d7
Choose a head ref
  • 15 commits
  • 13 files changed
  • 4 contributors

Commits on Sep 24, 2020

  1. nixos/datadog: allow specifying dd_url (#97775)

    Useful when you want to point datadog to another endpoint, either
    because you need a proxy to send out data, or because you use their EU
    endpoint.
    
    (cherry picked from commit 2865a88)
    flokli authored and zimbatm committed Sep 24, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    778cd18 View commit details
  2. linux/hardened/patches/5.4: 5.4.64.a -> 5.4.65.a

    (cherry picked from commit 1c61a93)
    NeQuissimus committed Sep 24, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    bfd9560 View commit details
  3. linux/hardened/patches/5.4: 5.4.65.a -> 5.4.67.a

    (cherry picked from commit 63ea043)
    NeQuissimus committed Sep 24, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    pSub Pascal Wittmann
    Copy the full SHA
    a99f8fa View commit details
  4. linux/hardened/patches/5.8: 5.8.10.a -> 5.8.11.a

    (cherry picked from commit a7e1ae6)
    NeQuissimus committed Sep 24, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    f6ae201 View commit details
  5. avy: 2017.10.16 -> 2019.05.01

    (cherry picked from commit 4072234)
    Sohalt authored and Jon committed Sep 24, 2020
    Copy the full SHA
    00c8e6f View commit details
  6. pythonPackages.gssapi: fix tests

    the failing tests appear to also be causing trouble upstream
    
    (cherry picked from commit fb570ba)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    b20ffa7 View commit details
  7. pythonPackages.gssapi: 1.6.2 -> 1.6.9

    (cherry picked from commit 9a47216)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    c9fdd32 View commit details
  8. Revert "python: pamqp: 2.3.0 -> 3.0.1"

    No version of pythonPackages.rabbitpy currently exists that supports 3.0.1
    
    This reverts commit 4250cde.
    
    (cherry picked from commit 178d1b1)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    5a99ef8 View commit details
  9. pythonPackages.rabbitpy: 1.0.0 -> 2.0.1

    (cherry picked from commit 16ed0c3)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    32db921 View commit details
  10. truvari: fix build

    be less strict about versions
    
    (cherry picked from commit 4637721)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    38ee58a View commit details
  11. bwa: include static library and some key headers in output

    (cherry picked from commit f1d2491)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    a63d237 View commit details
  12. pythonPackages.bwapy: init at 0.1.4

    (cherry picked from commit ccf4645)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    be0629f View commit details
  13. pythonPackages.pytabix: init at 0.1

    (cherry picked from commit 4543e54)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    37adf57 View commit details
  14. pythonPackages.acebinf: init at 1.0.2

    (cherry picked from commit e61102d)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    3fac393 View commit details
  15. truvari: 1.3.4 -> 2.0.2, fixing build

    seeing it has no tests, use pythonImportsCheck in an attempt to detect
    total breakage, even though it's not intended to be used as an importable
    module
    
    (cherry picked from commit ecd5886)
    risicle authored and Jon committed Sep 24, 2020
    Copy the full SHA
    f5ee72e View commit details
14 changes: 13 additions & 1 deletion nixos/modules/services/monitoring/datadog-agent.nix
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ let
cfg = config.services.datadog-agent;

ddConf = {
dd_url = "https://app.datadoghq.com";
dd_url = cfg.ddUrl;
skip_ssl_validation = false;
confd_path = "/etc/datadog-agent/conf.d";
additional_checksd = "/etc/datadog-agent/checks.d";
@@ -77,6 +77,18 @@ in {
type = types.path;
};

ddUrl = mkOption {
description = ''
Custom dd_url to configure the agent with.
Useful when you want to point datadog to another endpoint, either
because you need a proxy to send out data, or because you use their EU
endpoint.
'';
default = "https://app.datadoghq.com";
example = "https://app.datadoghq.eu";
type = types.str;
};

tags = mkOption {
description = "The tags to mark this Datadog agent";
example = [ "test" "service" ];
9 changes: 8 additions & 1 deletion pkgs/applications/science/biology/bwa/default.nix
Original file line number Diff line number Diff line change
@@ -11,8 +11,15 @@ stdenv.mkDerivation rec {

buildInputs = [ zlib ];

# it's unclear which headers are intended to be part of the public interface
# so we may find ourselves having to add more here over time
installPhase = ''
install -vD bwa $out/bin/bwa
install -vD -t $out/bin bwa
install -vD -t $out/lib libbwa.a
install -vD -t $out/include bntseq.h
install -vD -t $out/include bwa.h
install -vD -t $out/include bwamem.h
install -vD -t $out/include bwt.h
'';

meta = with stdenv.lib; {
19 changes: 11 additions & 8 deletions pkgs/applications/science/biology/truvari/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

python3Packages.buildPythonApplication rec {
pname = "truvari";
version = "1.3.4";
version = "2.0.2";

src = fetchFromGitHub {
owner = "spiralgenetics";
repo = "truvari";
rev = "v${version}";
sha256 = "1bph7v48s7pyfagz8a2fzl5fycjliqzn5lcbv3m2bp2ih1f1gd1v";
sha256 = "0lp1wnldjv92k4ncga1h0icb0dpjsrx427vggg40x04a7kp9lwx0";
};

propagatedBuildInputs = with python3Packages; [
@@ -21,17 +21,20 @@ python3Packages.buildPythonApplication rec {
pysam
pyfaidx
intervaltree
pytabix
acebinf
bwapy
joblib
pandas
];

prePatch = ''
substituteInPlace ./setup.py \
--replace '"progressbar2==3.41.0",' '"progressbar2==3.47.0",' \
--replace '"pysam==0.15.2",' '"pysam==0.15.4",' \
--replace '"pyfaidx==0.5.5.2",' '"pyfaidx==0.5.8",'
'';
# no tests
doCheck = false;
pythonImportsCheck = [ "truvari" ];

meta = with lib; {
description = "Structural variant comparison tool for VCFs";
homepage = "https://github.com/spiralgenetics/truvari";
license = licenses.mit;
maintainers = with maintainers; [ scalavision ];
longDescription = ''

This file was deleted.

12 changes: 4 additions & 8 deletions pkgs/applications/science/logic/avy/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, fetchgit, cmake, zlib, boost }:

stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "avy";
version = "2017.10.16";
version = "2019.05.01"; # date of cav19 tag

src = fetchgit {
url = "https://bitbucket.org/arieg/extavy";
rev = "c75c83379c38d6ea1046d0caee95aef77283ffe3";
sha256 = "0zcycnypg4q5g710bnkjpycaawmibc092vmyhgfbixkgq9fb5lfh";
rev = "cav19";
sha256 = "0qdzy9srxp5f38x4dbb3prnr9il6cy0kz80avrvd7fxqzy7wdlwy";
fetchSubmodules = true;
};

@@ -31,10 +31,6 @@ stdenv.mkDerivation {
patch -p1 -d glucose -i ${./glucose-fenv.patch}
'';

patches =
[ ./0001-no-static-boost-libs.patch
];

installPhase = ''
mkdir -p $out/bin
cp avy/src/{avy,avybmc} $out/bin/
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/acebinf/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pyvcf
}:

buildPythonPackage rec {
pname = "ACEBinf";
version = "1.0.2";

src = fetchPypi {
inherit pname version;
sha256 = "1168pny671l6zfm2vv1pwspnflmzi7f4v8yldjl7zlz0b9cm5zlz";
};

buildInputs = [ pyvcf ];

# no tests
doCheck = false;
pythonImportsCheck = [ "acebinf" ];

meta = with stdenv.lib; {
homepage = "https://github.com/ACEnglish/acebinf";
description = "Collection of simple utilities used when building bioinformatics tools";
license = licenses.unlicense;
maintainers = with maintainers; [ ris ];
};
}
42 changes: 42 additions & 0 deletions pkgs/development/python-modules/bwapy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv
, buildPythonPackage
, pythonOlder
, fetchPypi
, bwa
, cffi
, zlib
}:

buildPythonPackage rec {
pname = "bwapy";
version = "0.1.4";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "090qwx3vl729zn3a7sksbviyg04kc71gpbm3nd8dalqp673x1npw";
};
postPatch = ''
# replace bundled bwa
rm -r bwa/*
cp ${bwa}/lib/*.a ${bwa}/include/*.h bwa/
substituteInPlace setup.py \
--replace 'setuptools>=49.2.0' 'setuptools'
'';

buildInputs = [ zlib bwa ];

propagatedBuildInputs = [ cffi ];

# no tests
doCheck = false;
pythonImportsCheck = [ "bwapy" ];

meta = with stdenv.lib; {
homepage = "https://github.com/ACEnglish/acebinf";
description = "Python bindings to bwa mem aligner";
license = licenses.mpl20;
maintainers = with maintainers; [ ris ];
};
}
23 changes: 16 additions & 7 deletions pkgs/development/python-modules/gssapi/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{ stdenv
, lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, six
, enum34
, decorator
, nose
, krb5Full
, darwin
, isPy27
, parameterized
, shouldbe
, cython
@@ -18,13 +17,14 @@

buildPythonPackage rec {
pname = "gssapi";
version = "1.6.2";
version = "1.6.9";
disabled = pythonOlder "3.6";

src = fetchFromGitHub {
owner = "pythongssapi";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "195x3zqzyv491i9hf7l4asmic5pb2w3l1r7bps89651wkb3mrz1l";
sha256 = "1shm3pc0l2r91qadkpq4bx45my0165nw3kdcp0gw4lk50z215hag";
};

# It's used to locate headers
@@ -41,7 +41,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
decorator
six
] ++ lib.optional isPy27 enum34;
];

buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.GSS
@@ -55,12 +55,21 @@ buildPythonPackage rec {
six
];

doCheck = !stdenv.isDarwin; # many failures on darwin
doCheck = pythonOlder "3.8" # `shouldbe` not available
&& !stdenv.isDarwin; # many failures on darwin

# skip tests which fail possibly due to be an upstream issue (see
# https://github.com/pythongssapi/python-gssapi/issues/220)
checkPhase = ''
# some tests don't respond to being disabled through nosetests -x
echo $'\ndel CredsTestCase.test_add_with_impersonate' >> gssapi/tests/test_high_level.py
echo $'\ndel TestBaseUtilities.test_acquire_creds_impersonate_name' >> gssapi/tests/test_raw.py
echo $'\ndel TestBaseUtilities.test_add_cred_impersonate_name' >> gssapi/tests/test_raw.py
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
${python.interpreter} setup.py nosetests
${python.interpreter} setup.py nosetests -e 'ext_test_\d.*'
'';
pythonImportsCheck = [ "gssapi" ];

meta = with lib; {
homepage = "https://pypi.python.org/pypi/gssapi";
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pamqp/default.nix
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@
}:

buildPythonPackage rec {
version = "3.0.1";
version = "2.3.0";
pname = "pamqp";

src = fetchPypi {
inherit pname version;
sha256 = "0a9b49bde3f554ec49b47ebdb789133979985f24d5f4698935ed589a2d4392a4";
sha256 = "1s4lwbsiikz3czqad7jarb7k303q0wamla0rirghvwl9bslgbl2w";
};

buildInputs = [ mock nose pep8 pylint mccabe ];
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/pytabix/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
, zlib
}:

buildPythonPackage rec {
pname = "pytabix";
version = "0.1";

src = fetchPypi {
inherit pname version;
sha256 = "1ldp5r4ggskji6qx4bp2qxy2vrvb3fam03ksn0gq2hdxgrlg2x07";
};

buildInputs = [ zlib ];

doCheck = !isPy3k;
preCheck = ''
substituteInPlace test/test.py \
--replace 'test_remote_file' 'dont_test_remote_file'
'';
pythonImportsCheck = [ "tabix" ];

meta = with stdenv.lib; {
homepage = "https://github.com/slowkow/pytabix";
description = "Python interface for tabix";
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/rabbitpy/default.nix
Original file line number Diff line number Diff line change
@@ -7,15 +7,15 @@
}:

buildPythonPackage rec {
version = "1.0.0";
version = "2.0.1";
pname = "rabbitpy";

# No tests in the pypi tarball, so we directly fetch from git
src = fetchFromGitHub {
owner = "gmr";
repo = pname;
rev = version;
sha256 = "0fd80zlr4p2sh77rxyyfi9l0h2zqi2csgadr0rhnpgpqsy10qck6";
sha256 = "0m5z3i3d5adrz1wh6y35xjlls3cq6p4y9p1mzghw3k7hdvg26cck";
};

propagatedBuildInputs = [ pamqp ];
@@ -31,7 +31,7 @@ buildPythonPackage rec {
postPatch = ''
# See: https://github.com/gmr/rabbitpy/issues/118
substituteInPlace setup.py \
--replace 'pamqp>=1.6.1,<2.0' 'pamqp'
--replace 'pamqp>=2,<3' 'pamqp'
'';

meta = with stdenv.lib; {
12 changes: 6 additions & 6 deletions pkgs/os-specific/linux/kernel/hardened/patches.json
Original file line number Diff line number Diff line change
@@ -10,18 +10,18 @@
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.144.a/linux-hardened-4.19.144.a.patch"
},
"5.4": {
"name": "linux-hardened-5.4.64.a.patch",
"sha256": "1wkkvs66bmgqvgy1iqjck0c0mdad8lnwl42n5npw4ynjhfgiwp3b",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.64.a/linux-hardened-5.4.64.a.patch"
"name": "linux-hardened-5.4.67.a.patch",
"sha256": "0jpjc1magvlhfwrx43n68xcxxk1g5w2g0rvp92n7yli0db97k1bm",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.67.a/linux-hardened-5.4.67.a.patch"
},
"5.7": {
"name": "linux-hardened-5.7.19.a.patch",
"sha256": "1lydlh499aj3ck5cnv8q2271y4klvp17zm7j7qni16am14bld936",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.7.19.a/linux-hardened-5.7.19.a.patch"
},
"5.8": {
"name": "linux-hardened-5.8.10.a.patch",
"sha256": "0myfn5iz7gljj977fwsi3vzvm3n66yihrj2w207m3sr9mw9hp6d9",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.8.10.a/linux-hardened-5.8.10.a.patch"
"name": "linux-hardened-5.8.11.a.patch",
"sha256": "0cbmlwfzh9ppcvih437sp832rkhr7dfhx97drnkz4gysfyiyh07l",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.8.11.a/linux-hardened-5.8.11.a.patch"
}
}
6 changes: 6 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -150,6 +150,8 @@ in {

accupy = callPackage ../development/python-modules/accupy { };

acebinf = callPackage ../development/python-modules/acebinf { };

acme = callPackage ../development/python-modules/acme { };

acme-tiny = callPackage ../development/python-modules/acme-tiny { };
@@ -979,6 +981,8 @@ in {

bx-python = callPackage ../development/python-modules/bx-python { inherit (pkgs) zlib; };

bwapy = callPackage ../development/python-modules/bwapy { };

bytecode = callPackage ../development/python-modules/bytecode { };

bz2file = callPackage ../development/python-modules/bz2file { };
@@ -5406,6 +5410,8 @@ in {

pysvn = callPackage ../development/python-modules/pysvn { };

pytabix = callPackage ../development/python-modules/pytabix { };

pytado = callPackage ../development/python-modules/pytado { };

pytaglib = callPackage ../development/python-modules/pytaglib { };