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: cf059b32d98e
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: 566982e0ee2a
Choose a head ref
  • 14 commits
  • 10 files changed
  • 7 contributors

Commits on Jul 16, 2020

  1. ucx: 1.7.0 -> 1.8.1

    markuskowa committed Jul 16, 2020
    Copy the full SHA
    0e2f98d View commit details
  2. Copy the full SHA
    fe2c68a View commit details

Commits on Jul 17, 2020

  1. mbelib: init at 1.3.0

    andrew-d committed Jul 17, 2020
    Copy the full SHA
    5601d74 View commit details
  2. it++: init at 4.3.1

    andrew-d committed Jul 17, 2020
    Copy the full SHA
    f856cb8 View commit details
  3. dsd: init at 2018-07-01

    andrew-d committed Jul 17, 2020
    Copy the full SHA
    6f1acf8 View commit details

Commits on Jul 18, 2020

  1. _3270font: init at 2.0.4

    marsam committed Jul 18, 2020
    Copy the full SHA
    4703d4d View commit details
  2. p7zip: fix build when enableUnfree is true

    `chmod +x install.sh` was only being executed when enableUnfree was
    false. Therefore, building p7zip with enableUnfree set to true would fail
    because install.sh was not an executable file.
    cript0nauta committed Jul 18, 2020
    Copy the full SHA
    410dbaa View commit details
  3. weechat: 2.8 -> 2.9

    mweinelt committed Jul 18, 2020
    Copy the full SHA
    c3bf59e View commit details
  4. Merge pull request #93031 from andrew-d/andrew/dsd

    dsd: init at 2018-07-01
    markuskowa authored Jul 18, 2020
    Copy the full SHA
    533720c View commit details
  5. Merge pull request #93280 from markuskowa/upd-ucx

    ucx: 1.7.0 -> 1.8.1, build openmpi with ucx
    markuskowa authored Jul 18, 2020
    Copy the full SHA
    5ac114b View commit details
  6. Merge pull request #93420 from marsam/init-3270font

    _3270font: init at 2.0.4
    marsam authored Jul 18, 2020
    Copy the full SHA
    68dfdd3 View commit details
  7. coreboot-utils: include common meta attrs for all

    Milan Pässler committed Jul 18, 2020
    Copy the full SHA
    72e242d View commit details
  8. Merge pull request #93439 from cript0nauta/p7zip-unfree

    p7zip: fix build when enableUnfree is true
    worldofpeace authored Jul 18, 2020
    Copy the full SHA
    a5fc5da View commit details
  9. Merge pull request #93441 from mweinelt/weechat

    weechat: 2.8 -> 2.9
    marsam authored Jul 18, 2020
    Copy the full SHA
    566982e View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/networking/irc/weechat/default.nix
Original file line number Diff line number Diff line change
@@ -27,12 +27,12 @@ let
in
assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
stdenv.mkDerivation rec {
version = "2.8";
version = "2.9";
pname = "weechat";

src = fetchurl {
url = "https://weechat.org/files/src/weechat-${version}.tar.bz2";
sha256 = "0xpzl7985j47rpmly4r833jxd448xpy7chqphaxmhlql2c0gc08z";
sha256 = "12h4m4ag8cdab7q6f5n357mfg0fdayab1gcikncjkkid3bjd4r4g";
};

outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
44 changes: 44 additions & 0 deletions pkgs/applications/radio/dsd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ stdenv, fetchFromGitHub, cmake
, mbelib, libsndfile, itpp
, portaudioSupport ? true, portaudio ? null
}:

assert portaudioSupport -> portaudio != null;

stdenv.mkDerivation rec {
pname = "dsd";
version = "2018-07-01";

src = fetchFromGitHub {
owner = "szechyjs";
repo = "dsd";
rev = "f175834e45a1a190171dff4597165b27d6b0157b";
sha256 = "0w4r13sxvjwacdwxr326zr6p77a8p6ny0g6im574jliw5j3shlhr";
};

nativeBuildInputs = [ cmake ];
buildInputs = [
mbelib libsndfile itpp
] ++ stdenv.lib.optionals portaudioSupport [ portaudio ];

enableParallelBuilding = true;

doCheck = true;
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
'';

meta = with stdenv.lib; {
description = "Digital Speech Decoder";
longDescription = ''
DSD is able to decode several digital voice formats from discriminator
tap audio and synthesize the decoded speech. Speech synthesis requires
mbelib, which is a separate package.
'';
homepage = https://github.com/szechyjs/dsd;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ andrew-d ];
};
}
26 changes: 26 additions & 0 deletions pkgs/data/fonts/3270font/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, fetchzip }:
let
version = "2.0.4";
in
fetchzip rec {
name = "3270font-${version}";

url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_ece94f6.zip";

sha256 = "04q7dnrlq5hm30iibh3jafb33m5lwsgb3g9n9i188sg02ydkrsl9";

postFetch = ''
mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
'';

meta = with lib; {
description = "Monospaced font based on IBM 3270 terminals";
homepage = "https://github.com/rbanffy/3270font";
license = [ licenses.bsd3 licenses.ofl ];
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}
31 changes: 31 additions & 0 deletions pkgs/development/libraries/audio/mbelib/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
pname = "mbelib";
version = "1.3.0";

src = fetchFromGitHub {
owner = "szechyjs";
repo = "mbelib";
rev = "v${version}";
sha256 = "0v6b7nf8fgxy7vzgcwffqyql5zhldrz30c88k1ylbjp78hwh4rif";
};

nativeBuildInputs = [ cmake ];

enableParallelBuilding = true;

doCheck = true;
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
'';

meta = with stdenv.lib; {
description = "P25 Phase 1 and ProVoice vocoder";
homepage = https://github.com/szechyjs/mbelib;
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ andrew-d ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/openmpi/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric, pmix
, libpsm2, libfabric, pmix, ucx

# Enable CUDA support
, cudaSupport ? false, cudatoolkit ? null
@@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
'';

buildInputs = with stdenv; [ gfortran zlib ]
++ lib.optionals isLinux [ libnl numactl pmix ]
++ lib.optionals isLinux [ libnl numactl pmix ucx ]
++ lib.optionals cudaSupport [ cudatoolkit ]
++ [ libevent hwloc ]
++ lib.optional (isLinux || isFreeBSD) rdma-core
55 changes: 55 additions & 0 deletions pkgs/development/libraries/science/math/itpp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{ stdenv
, fetchurl
, cmake
, gtest
, blas
, fftw
, liblapack
, gfortran
}:

stdenv.mkDerivation rec {
pname = "it++";
version = "4.3.1";

src = fetchurl {
url = "mirror://sourceforge/itpp/itpp-${version}.tar.bz2";
sha256 = "0xxqag9wi0lg78xgw7b40rp6wxqp5grqlbs9z0ifvdfzqlhpcwah";
};

nativeBuildInputs = [ cmake gfortran ];
buildInputs = [
fftw
liblapack

# NOTE: OpenBLAS doesn't work here because IT++ doesn't pass aligned
# buffers, which causes segfaults in the optimized kernels :-(
blas
];

cmakeFlags = [
"-DBLAS_FOUND:BOOL=TRUE"
"-DBLAS_LIBRARIES:STRING=${blas}/lib/libblas.so"
"-DLAPACK_FOUND:BOOL=TRUE"
"-DLAPACK_LIBRARIES:STRING=${liblapack}/lib/liblapack.so"
"-DGTEST_DIR:PATH=${gtest.src}/googletest"
];

enableParallelBuilding = true;

doCheck = true;

checkPhase = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/itpp
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/itpp
./gtests/itpp_gtests
'';

meta = with stdenv.lib; {
description = "IT++ is a C++ library of mathematical, signal processing and communication classes and functions.";
homepage = http://itpp.sourceforge.net/;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ andrew-d ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ucx/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
}:

let
version = "1.7.0";
version = "1.8.1";

in stdenv.mkDerivation {
name = "ucx-${version}";
@@ -12,7 +12,7 @@ in stdenv.mkDerivation {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
sha256 = "149p8s7jrg7pbbq0hw0qm8va119bsl19q4scgk94vjqliyc1s33h";
sha256 = "0yfnx4shgydkp447kipavjzgl6z58jan6l7znhdi8ry4zbgk568a";
};

nativeBuildInputs = [ autoreconfHook doxygen ];
2 changes: 1 addition & 1 deletion pkgs/tools/archivers/p7zip/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
# Default makefile is full of impurities on Darwin. The patch doesn't hurt Linux so I'm leaving it unconditional
postPatch = ''
sed -i '/CC=\/usr/d' makefile.macosx_llvm_64bits
chmod +x install.sh
# I think this is a typo and should be CXX? Either way let's kill it
sed -i '/XX=\/usr/d' makefile.macosx_llvm_64bits
@@ -28,7 +29,6 @@ stdenv.mkDerivation rec {
# (see DOC/License.txt, https://fedoraproject.org/wiki/Licensing:Unrar)
rm -r CPP/7zip/Compress/Rar*
find . -name makefile'*' -exec sed -i '/Rar/d' {} +
chmod +x install.sh
'';

preConfigure = ''
11 changes: 7 additions & 4 deletions pkgs/tools/misc/coreboot-utils/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
let
version = "4.12";

meta = with stdenv.lib; {
commonMeta = with stdenv.lib; {
description = "Various coreboot-related tools";
homepage = "https://www.coreboot.org";
license = licenses.gpl2;
@@ -12,7 +12,7 @@ let
};

generic = { pname, path ? "util/${pname}", ... }@args: stdenv.mkDerivation (rec {
inherit pname version meta;
inherit pname version;

src = fetchurl {
url = "https://coreboot.org/releases/coreboot-${version}.tar.xz";
@@ -29,7 +29,9 @@ let
"INSTALL=install"
"PREFIX=${placeholder "out"}"
];
} // args);

meta = commonMeta // args.meta;
} // (removeAttrs args ["meta"]));

utils = {
msrtool = generic {
@@ -99,6 +101,7 @@ in utils // {
paths = stdenv.lib.attrValues utils;
postBuild = "rm -rf $out/sbin";
}) // {
inherit meta version;
inherit version;
meta = commonMeta;
};
}
8 changes: 8 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -16870,6 +16870,8 @@ in

dropwatch = callPackage ../os-specific/linux/dropwatch { };

dsd = callPackage ../applications/radio/dsd { };

dstat = callPackage ../os-specific/linux/dstat { };

# unstable until the first 1.x release
@@ -16995,6 +16997,8 @@ in

irqbalance = callPackage ../os-specific/linux/irqbalance { };

itpp = callPackage ../development/libraries/science/math/itpp { };

iw = callPackage ../os-specific/linux/iw { };

iwd = callPackage ../os-specific/linux/iwd { };
@@ -17568,6 +17572,8 @@ in

lvm2 = callPackage ../os-specific/linux/lvm2 { };

mbelib = callPackage ../development/libraries/audio/mbelib { };

mbpfan = callPackage ../os-specific/linux/mbpfan { };

mdadm = mdadm4;
@@ -18034,6 +18040,8 @@ in

### DATA

_3270font = callPackage ../data/fonts/3270font { };

adapta-backgrounds = callPackage ../data/misc/adapta-backgrounds { };

adapta-gtk-theme = callPackage ../data/themes/adapta { };