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: b76f0ed3ed15
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: c011843b0cfd
Choose a head ref

Commits on Mar 7, 2018

  1. parse: 1.6.6 -> 1.8.2

    Alex Brandt committed Mar 7, 2018
    Copy the full SHA
    e39f948 View commit details
  2. parse-type: 0.3.4 -> 0.4.2

    Alex Brandt committed Mar 7, 2018
    Copy the full SHA
    b8c3a16 View commit details

Commits on Mar 9, 2018

  1. behave: 1.2.5 -> 1.2.6

    Alex Brandt committed Mar 9, 2018
    Copy the full SHA
    df9148c View commit details

Commits on Mar 12, 2018

  1. add missing propagatedBuildInputs to bibtexparser

    Alex Brandt committed Mar 12, 2018
    Copy the full SHA
    0f5e8a3 View commit details

Commits on Mar 29, 2018

  1. Merge branch 'master' into bump-behave-version

    Alex Brandt committed Mar 29, 2018
    Copy the full SHA
    6d78bde View commit details

Commits on Mar 30, 2018

  1. nixos: kubernetes fixes

    * Fix reference CNI plugins
      * The plugins were split out of the upstream cni repo around version
        0.6.0
    
    * Fix RBAC and DNS tests
      * Fix broken apiVersion fields
      * Change plugin linking to look in ${package}/bin rather than
        ${package.plugins}
    
    * Initial work towards a working e2e test
      * Test still fails, but at least the expression evaluates now
    
    Continues @srhb's work in #37199
    
    Fixes #37199
    cstrahan committed Mar 30, 2018
    Copy the full SHA
    709b6f6 View commit details

Commits on Mar 31, 2018

  1. mypy: 0.570 -> 0.580

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/mypy/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.dmypy-wrapped -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.dmypy-wrapped --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.dmypy-wrapped help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/dmypy -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/dmypy --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/dmypy help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.mypy-wrapped -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.mypy-wrapped --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.mypy-wrapped -V` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.mypy-wrapped --version` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/mypy -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/mypy --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/mypy -V` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/mypy --version` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.stubgen-wrapped -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.stubgen-wrapped --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.stubgen-wrapped help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.stubgen-wrapped version` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/.stubgen-wrapped help` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/stubgen -h` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/stubgen --help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/stubgen help` got 0 exit code
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/stubgen version` and found version 0.580
    - ran `/nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580/bin/stubgen help` and found version 0.580
    - found 0.580 with grep in /nix/store/gzpx9ph7vrm4c3hqiy6b7lfbzvbpz3gm-mypy-0.580
    - directory tree listing: https://gist.github.com/63b1f0c61670aaf2501d007ddb06581a
    R. RyanTM committed Mar 31, 2018
    Copy the full SHA
    3d8a356 View commit details

Commits on Apr 3, 2018

  1. pythonPackages.face_recognition: 1.2.1 -> 1.2.2

    The following fixes have been applied according to the changelog (https://github.com/ageitgey/face_recognition/releases)
    
    - Added the face_detection CLI command
    - Removed dependencies on scipy to make installation easier
    - Cleaned up KNN example and fixed a bug with drawing fonts to label detected faces in the demo
    
    Furthermore the maintainer switched to actual GIT tags for PyPI releases
    as discussed in ageitgey/face_recognition#417 and #37566
    Ma27 committed Apr 3, 2018
    Copy the full SHA
    6df74ad View commit details
  2. Revert "dlib: 19.9 -> 19.10"

    This reverts commit 7ec4573.
    Ma27 committed Apr 3, 2018
    Copy the full SHA
    a770159 View commit details
  3. Copy the full SHA
    650aec3 View commit details
  4. Copy the full SHA
    f338e4c View commit details

Commits on Apr 4, 2018

  1. rocksdb_lite: Fix

    infinisil committed Apr 4, 2018
    Copy the full SHA
    3f9876a View commit details
  2. monero-gui: blind darwin fix

    Mic92 committed Apr 4, 2018
    Copy the full SHA
    dff0404 View commit details
  3. Copy the full SHA
    b9e5aea View commit details
  4. Copy the full SHA
    a7e63bc View commit details
  5. Add missing package factorio-headless-experimental

    All combinations of headless/alpha and stable/experimental were present,
    except for this one.
    Michishige Kaito committed Apr 4, 2018
    Copy the full SHA
    ff20c6c View commit details
  6. factorio: 16.24 -> 16.36

    Update all factorio packages to their latest version. The fact that the
    experimental version is lower than the alpha version is just because
    they haven't made an experimental release after the last stable.
    Michishige Kaito committed Apr 4, 2018
    Copy the full SHA
    f56b733 View commit details
  7. nix-review: init at 0.1.0

    Mic92 committed Apr 4, 2018
    Copy the full SHA
    96b106b View commit details
  8. ngrok: enable darwin build

    periklis committed Apr 4, 2018
    Copy the full SHA
    592ce9d View commit details
  9. Copy the full SHA
    28ba64c View commit details
  10. Copy the full SHA
    41958e5 View commit details
  11. rocksdb: Disable aarch64

    Because the build for it is broken
    infinisil committed Apr 4, 2018
    Copy the full SHA
    336ef91 View commit details
  12. Copy the full SHA
    50b0afa View commit details
  13. Copy the full SHA
    8aa1e53 View commit details
  14. gstreamer: 1.12.3 -> 1.14.0

    bkchr committed Apr 4, 2018
    Copy the full SHA
    db2977a View commit details
  15. Copy the full SHA
    346ab3d View commit details
  16. Copy the full SHA
    d18d0c2 View commit details
  17. Copy the full SHA
    cd28a5e View commit details
  18. Copy the full SHA
    1e71bcf View commit details
  19. Copy the full SHA
    222883a View commit details
  20. gst-libav: 1.12.3 -> 1.14.0

    bkchr committed Apr 4, 2018
    Copy the full SHA
    78b59ff View commit details
  21. gst-vaapi: 1.12.4 -> 1.14.0

    bkchr committed Apr 4, 2018
    Copy the full SHA
    bdefa9a View commit details
  22. gst-validate: 1.12.3 -> 1.14.0

    bkchr committed Apr 4, 2018
    Copy the full SHA
    06f9b94 View commit details
  23. Copy the full SHA
    1884beb View commit details
  24. Copy the full SHA
    365640a View commit details
  25. Copy the full SHA
    edd17a0 View commit details
  26. Copy the full SHA
    fd0474e View commit details
  27. Copy the full SHA
    ac0d32b View commit details
  28. Copy the full SHA
    a19a9b2 View commit details
  29. Copy the full SHA
    42d3b5c View commit details
  30. Copy the full SHA
    2a80d83 View commit details
  31. Copy the full SHA
    69fb4dd View commit details
  32. Copy the full SHA
    fd5c1f6 View commit details
  33. Copy the full SHA
    3508f30 View commit details
  34. Copy the full SHA
    40b4b87 View commit details
  35. Copy the full SHA
    be5bff0 View commit details
  36. Copy the full SHA
    41a4fea View commit details
  37. Copy the full SHA
    bbc8022 View commit details
  38. Merge pull request #38415 from Infinisil/fix/rocksdblite

    rocksdb_lite: Fix
    Mic92 authored Apr 4, 2018
    Copy the full SHA
    d5ee865 View commit details
  39. Copy the full SHA
    4a945a0 View commit details
Showing with 584 additions and 259 deletions.
  1. +2 −2 nixos/modules/services/cluster/kubernetes/default.nix
  2. +4 −1 nixos/release.nix
  3. +52 −19 nixos/tests/kubernetes/certs.nix
  4. +1 −1 nixos/tests/kubernetes/e2e.nix
  5. +2 −2 nixos/tests/kubernetes/rbac.nix
  6. +1 −1 nixos/tests/openldap.nix
  7. +3 −3 pkgs/applications/altcoins/monero-gui/default.nix
  8. +2 −2 pkgs/applications/altcoins/monero/default.nix
  9. +1 −4 pkgs/applications/networking/cluster/cni/default.nix
  10. +33 −0 pkgs/applications/networking/cluster/cni/plugins.nix
  11. +1 −1 pkgs/applications/networking/corebird/default.nix
  12. +2 −2 pkgs/applications/networking/syncthing/default.nix
  13. +1 −1 pkgs/development/compilers/llvm/3.4/llvm.nix
  14. +1 −1 pkgs/development/compilers/llvm/3.5/llvm.nix
  15. +2 −2 pkgs/development/libraries/dlib/default.nix
  16. +18 −19 pkgs/development/libraries/gstreamer/bad/default.nix
  17. +15 −0 pkgs/development/libraries/gstreamer/bad/fix_pkgconfig_includedir.patch
  18. +18 −14 pkgs/development/libraries/gstreamer/base/default.nix
  19. +15 −0 pkgs/development/libraries/gstreamer/base/fix_pkgconfig_includedir.patch
  20. +20 −13 pkgs/development/libraries/gstreamer/core/default.nix
  21. +15 −0 pkgs/development/libraries/gstreamer/core/fix_pkgconfig_includedir.patch
  22. +1 −5 pkgs/development/libraries/gstreamer/default.nix
  23. +15 −6 pkgs/development/libraries/gstreamer/ges/default.nix
  24. +15 −0 pkgs/development/libraries/gstreamer/ges/fix_pkgconfig_includedir.patch
  25. +0 −30 pkgs/development/libraries/gstreamer/gnonlin/default.nix
  26. +15 −13 pkgs/development/libraries/gstreamer/good/default.nix
  27. +15 −0 pkgs/development/libraries/gstreamer/good/fix_pkgconfig_includedir.patch
  28. +6 −9 pkgs/development/libraries/gstreamer/libav/default.nix
  29. +6 −4 pkgs/development/libraries/gstreamer/rtsp-server/default.nix
  30. +7 −7 pkgs/development/libraries/gstreamer/ugly/default.nix
  31. +6 −7 pkgs/development/libraries/gstreamer/vaapi/default.nix
  32. +2 −2 pkgs/development/libraries/gstreamer/validate/default.nix
  33. +6 −6 pkgs/development/libraries/rocksdb/default.nix
  34. +20 −5 pkgs/development/ocaml-modules/ocsigen-deriving/default.nix
  35. +12 −0 pkgs/development/ocaml-modules/optcomp/META
  36. +23 −1 pkgs/development/ocaml-modules/optcomp/default.nix
  37. +29 −0 pkgs/development/python-modules/Rtree/default.nix
  38. +7 −8 pkgs/development/python-modules/behave/default.nix
  39. +4 −7 pkgs/development/python-modules/bibtexparser/default.nix
  40. +5 −5 pkgs/development/python-modules/face_recognition/default.nix
  41. +11 −8 pkgs/development/python-modules/gst-python/default.nix
  42. +2 −10 pkgs/development/python-modules/parse-type/default.nix
  43. +2 −10 pkgs/development/python-modules/parse/default.nix
  44. +9 −1 pkgs/development/python-modules/rootpy/default.nix
  45. +2 −2 pkgs/development/tools/mypy/default.nix
  46. +6 −6 pkgs/games/factorio/default.nix
  47. +0 −1 pkgs/misc/cups/filters.nix
  48. +2 −2 pkgs/os-specific/linux/firmware/raspberrypi/default.nix
  49. +3 −3 pkgs/os-specific/linux/spl/default.nix
  50. +6 −6 pkgs/os-specific/linux/zfs/default.nix
  51. +12 −5 pkgs/tools/networking/ngrok-2/default.nix
  52. +31 −0 pkgs/tools/package-management/nix-review/default.nix
  53. +84 −0 pkgs/tools/typesetting/ted/default.nix
  54. +9 −2 pkgs/top-level/all-packages.nix
  55. +2 −0 pkgs/top-level/python-packages.nix
4 changes: 2 additions & 2 deletions nixos/modules/services/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -766,7 +766,7 @@ in {
rm /opt/cni/bin/* || true
${concatMapStrings (package: ''
echo "Linking cni package: ${package}"
ln -fs ${package.plugins}/* /opt/cni/bin
ln -fs ${package}/bin/* /opt/cni/bin
'') cfg.kubelet.cni.packages}
'';
serviceConfig = {
@@ -828,7 +828,7 @@ in {
};

# Allways include cni plugins
services.kubernetes.kubelet.cni.packages = [pkgs.cni];
services.kubernetes.kubelet.cni.packages = [pkgs.cni-plugins];

boot.kernelModules = ["br_netfilter"];

5 changes: 4 additions & 1 deletion nixos/release.nix
Original file line number Diff line number Diff line change
@@ -311,7 +311,10 @@ in rec {
tests.kernel-copperhead = callTest tests/kernel-copperhead.nix {};
tests.kernel-latest = callTest tests/kernel-latest.nix {};
tests.kernel-lts = callTest tests/kernel-lts.nix {};
tests.kubernetes = callSubTestsOnMatchingSystems ["x86_64-linux"] tests/kubernetes/default.nix {};
tests.kubernetes.dns = callSubTestsOnMatchingSystems ["x86_64-linux"] tests/kubernetes/dns.nix {};
## kubernetes.e2e should eventually replace kubernetes.rbac when it works
#tests.kubernetes.e2e = callSubTestsOnMatchingSystems ["x86_64-linux"] tests/kubernetes/e2e.nix {};
tests.kubernetes.rbac = callSubTestsOnMatchingSystems ["x86_64-linux"] tests/kubernetes/rbac.nix {};
tests.latestKernel.login = callTest tests/login.nix { latestKernel = true; };
tests.ldap = callTest tests/ldap.nix {};
#tests.lightdm = callTest tests/lightdm.nix {};
71 changes: 52 additions & 19 deletions nixos/tests/kubernetes/certs.nix
Original file line number Diff line number Diff line change
@@ -6,29 +6,62 @@
kubelets
}:
let
runWithCFSSL = name: cmd:
builtins.fromJSON (builtins.readFile (
pkgs.runCommand "${name}-cfss.json" {
buildInputs = [ pkgs.cfssl ];
} "cfssl ${cmd} > $out"
));

writeCFSSL = content:
pkgs.runCommand content.name {
buildInputs = [ pkgs.cfssl ];
} ''
mkdir -p $out
cd $out
cat ${writeFile content} | cfssljson -bare ${content.name}
'';
runWithCFSSL = name: cmd:
let secrets = pkgs.runCommand "${name}-cfss.json" {
buildInputs = [ pkgs.cfssl pkgs.jq ];
outputs = [ "out" "cert" "key" "csr" ];
}
''
(
echo "${cmd}"
cfssl ${cmd} > tmp
cat tmp | jq -r .key > $key
cat tmp | jq -r .cert > $cert
cat tmp | jq -r .csr > $csr
touch $out
) 2>&1 | fold -w 80 -s
'';
in {
key = secrets.key;
cert = secrets.cert;
csr = secrets.csr;
};

writeCFSSL = content:
pkgs.runCommand content.name {
buildInputs = [ pkgs.cfssl pkgs.jq ];
} ''
mkdir -p $out
cd $out
json=${pkgs.lib.escapeShellArg (builtins.toJSON content)}
# for a given $field in the $json, treat the associated value as a
# file path and substitute the contents thereof into the $json
# object.
expandFileField() {
local field=$1
if jq -e --arg field "$field" 'has($field)'; then
local path="$(echo "$json" | jq -r ".$field")"
json="$(echo "$json" | jq --arg val "$(cat "$path")" ".$field = \$val")"
fi
}
expandFileField key
expandFileField ca
expandFileField cert
echo "$json" | cfssljson -bare ${content.name}
'';

noCSR = content: pkgs.lib.filterAttrs (n: v: n != "csr") content;
noKey = content: pkgs.lib.filterAttrs (n: v: n != "key") content;

writeFile = content: pkgs.writeText "content" (
if pkgs.lib.isAttrs content then builtins.toJSON content
else toString content
);
writeFile = content:
if pkgs.lib.isDerivation content
then content
else pkgs.writeText "content" (builtins.toJSON content);

createServingCertKey = { ca, cn, hosts? [], size ? 2048, name ? cn }:
noCSR (
2 changes: 1 addition & 1 deletion nixos/tests/kubernetes/e2e.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
with import ./base.nix { inherit system; };
let
domain = "my.zyx";
certs = import ./certs.nix { externalDomain = domain; };
certs = import ./certs.nix { externalDomain = domain; kubelets = ["machine1" "machine2"]; };
kubeconfig = pkgs.writeText "kubeconfig.json" (builtins.toJSON {
apiVersion = "v1";
kind = "Config";
4 changes: 2 additions & 2 deletions nixos/tests/kubernetes/rbac.nix
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ let
});

roRoleBinding = pkgs.writeText "ro-role-binding.json" (builtins.toJSON {
apiVersion = "rbac.authorization.k8s.io/v1beta1";
apiVersion = "rbac.authorization.k8s.io/v1";
kind = "RoleBinding";
metadata = {
name = "read-pods";
@@ -31,7 +31,7 @@ let
});

roRole = pkgs.writeText "ro-role.json" (builtins.toJSON {
apiVersion = "rbac.authorization.k8s.io/v1beta1";
apiVersion = "rbac.authorization.k8s.io/v1";
kind = "Role";
metadata = {
name = "pod-reader";
2 changes: 1 addition & 1 deletion nixos/tests/openldap.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ./make-test.nix {
name = "dovecot";
name = "openldap";

machine = { pkgs, ... }: {
services.openldap = {
6 changes: 3 additions & 3 deletions pkgs/applications/altcoins/monero-gui/default.nix
Original file line number Diff line number Diff line change
@@ -12,13 +12,13 @@ with stdenv.lib;

stdenv.mkDerivation rec {
name = "monero-gui-${version}";
version = "2018-03-31";
version = "0.12.0.0";

src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "fbe5ba831795008361f4de4347e7ecb6d868b4eb";
sha256 = "06cncwk4mxfw1rqwlwisasvangl73xyqwj4g6r9j85j5x4xy0k5s";
rev = "v${version}";
sha256 = "1mg5ival8a2wdp14yib4wzqax4xyvd40zjy9anhszljds1439jhl";
};

nativeBuildInputs = [ qmake pkgconfig ];
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/monero/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, git
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline
, IOKit ? null
, CoreData, IOKit, PCSC
}:

assert stdenv.isDarwin -> IOKit != null;
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
] ++ optional stdenv.isDarwin IOKit;
] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ];

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
5 changes: 1 addition & 4 deletions pkgs/applications/networking/cluster/cni/default.nix
Original file line number Diff line number Diff line change
@@ -13,17 +13,14 @@ stdenv.mkDerivation rec {

buildInputs = [ go ];

outputs = ["out" "plugins"];

buildPhase = ''
patchShebangs build.sh
./build.sh
'';

installPhase = ''
mkdir -p $out/bin $plugins
mkdir -p $out/bin
mv bin/cnitool $out/bin
mv bin/* $plugins/
'';

meta = with stdenv.lib; {
33 changes: 33 additions & 0 deletions pkgs/applications/networking/cluster/cni/plugins.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, lib, fetchFromGitHub, go }:

stdenv.mkDerivation rec {
name = "cni-plugins-${version}";
version = "0.7.0";

src = fetchFromGitHub {
owner = "containernetworking";
repo = "plugins";
rev = "v${version}";
sha256 = "0m885v76azs7lrk6m6n53rwh0xadwvdcr90h0l3bxpdv87sj2mnf";
};

buildInputs = [ go ];

buildPhase = ''
patchShebangs build.sh
./build.sh
'';

installPhase = ''
mkdir -p $out/bin
mv bin/* $out/bin
'';

meta = with lib; {
description = "Some standard networking plugins, maintained by the CNI team";
homepage = https://github.com/containernetworking/plugins;
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ cstrahan ];
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/networking/corebird/default.nix
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {

buildInputs = [
glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good (gst-plugins-bad.override { gtkSupport = true; }) gst-libav ]);
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);

postPatch = ''
chmod +x data/meson_post_install.py # patchShebangs requires executable file
4 changes: 2 additions & 2 deletions pkgs/applications/networking/syncthing/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@
let
common = { stname, target, patches ? [], postInstall ? "" }:
stdenv.mkDerivation rec {
version = "0.14.45";
version = "0.14.46";
name = "${stname}-${version}";

src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
sha256 = "0hhldmvsbvkaj0x6af7c41zq5mbzcymv5xxmwvb4h5zbz49z9vzl";
sha256 = "0lv8n5id40iy2gfccy8g45fjzlnbnvi7nlvj25pri22dq2bd5svm";
};

inherit patches;
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/3.4/llvm.nix
Original file line number Diff line number Diff line change
@@ -90,6 +90,6 @@ in stdenv.mkDerivation rec {
homepage = http://llvm.org/;
license = stdenv.lib.licenses.ncsa;
maintainers = with stdenv.lib.maintainers; [ lovek323 raskin viric ];
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin"];
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "armv7l-linux"];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/3.5/llvm.nix
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ in stdenv.mkDerivation rec {
homepage = http://llvm.org/;
license = stdenv.lib.licenses.ncsa;
maintainers = with stdenv.lib.maintainers; [ lovek323 raskin viric ];
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin"];
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "armv7l-linux"];
};
}

4 changes: 2 additions & 2 deletions pkgs/development/libraries/dlib/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@
}:

stdenv.mkDerivation rec {
version = "19.10";
version = "19.9";
name = "dlib-${version}";

src = fetchFromGitHub {
owner = "davisking";
repo = "dlib";
rev ="v${version}";
sha256 = "0sgxblf4n33b8wgblyblmrkwydvy1yh7fzll1b6c4zgkz675w0m5";
sha256 = "0lc54r928j9dg7f2wn25m887z24d31wrc14v2hn6aknp1z084lrc";
};

postPatch = ''
37 changes: 18 additions & 19 deletions pkgs/development/libraries/gstreamer/bad/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, pkgconfig, python, gst-plugins-base, orc
{ stdenv, fetchurl, fetchpatch, meson, ninja, gettext
, pkgconfig, python, gst-plugins-base, orc
, faacSupport ? false, faac ? null
, gtkSupport ? false, gtk3 ? null
, faad2, libass, libkate, libmms
, libmodplug, mpeg2dec, mpg123
, libmodplug, mpeg2dec
, openjpeg, libopus, librsvg
, wildmidi, fluidsynth, libvdpau, wayland
, libwebp, xvidcore, gnutls, mjpegtools
@@ -11,7 +11,6 @@
}:

assert faacSupport -> faac != null;
assert gtkSupport -> gtk3 != null;

let
inherit (stdenv.lib) optional optionalString;
@@ -23,7 +22,7 @@ let

in
stdenv.mkDerivation rec {
name = "gst-plugins-bad-1.12.3";
name = "gst-plugins-bad-1.14.0";

meta = with stdenv.lib; {
description = "Gstreamer Bad Plugins";
@@ -38,36 +37,38 @@ stdenv.mkDerivation rec {
platforms = platforms.linux ++ platforms.darwin;
};

# TODO: Fix Cocoa build. The problem was ARC, which might be related to too
# old version of Apple SDK's.
configureFlags = optional stdenv.isDarwin "--disable-cocoa";

patchPhase = ''
sed -i 's/openjpeg-2.2/openjpeg-${openJpegVersion}/' ext/openjpeg/*
preConfigure = ''
patchShebangs .
'';

patches = [
(fetchpatch {
url = "https://bug794856.bugzilla-attachments.gnome.org/attachment.cgi?id=370409";
sha256 = "0hy0rcn35alq65yqwri4fqjz2hf3nyyg5c7rnndk51msmqjxpprk";
})
./fix_pkgconfig_includedir.patch
];

src = fetchurl {
url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
sha256 = "1v5z3i5ha20gmbb3r9dwsaaspv5fm1jfzlzwlzqx1gjj31v5kl1n";
sha256 = "17sgzgx1c54k5rzz7ljyz3is0n7yj56k74vv05h8z1gjnsnjnppd";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ pkgconfig python ];
nativeBuildInputs = [ meson ninja pkgconfig python gettext ];

buildInputs = [
gst-plugins-base orc
faad2 gtk3 libass libkate libmms
libmodplug mpeg2dec mpg123
faad2 libass libkate libmms
libmodplug mpeg2dec
openjpeg libopus librsvg
fluidsynth libvdpau
libwebp xvidcore gnutls libGLU_combined
libgme openssl x265 libxml2
]
++ libintlOrEmpty
++ optional faacSupport faac
# for gtksink
++ optional gtkSupport gtk3
++ optional stdenv.isLinux wayland
# wildmidi requires apple's OpenAL
# TODO: package apple's OpenAL, fix wildmidi, include on Darwin
@@ -76,6 +77,4 @@ stdenv.mkDerivation rec {
++ optional (!stdenv.isDarwin) mjpegtools;

LDFLAGS = optionalString stdenv.isDarwin "-lintl";

enableParallelBuilding = true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
index 271f327f3..7e2afa754 100644
--- a/pkgconfig/meson.build
+++ b/pkgconfig/meson.build
@@ -2,8 +2,8 @@ pkgconf = configuration_data()

pkgconf.set('prefix', join_paths(get_option('prefix')))
pkgconf.set('exec_prefix', '${prefix}')
-pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
-pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
+pkgconf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
+pkgconf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')))
pkgconf.set('GST_API_VERSION', api_version)
pkgconf.set('VERSION', gst_version)

Loading