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: fc048073e6b2
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: 11a0d130ff6d
Choose a head ref
  • 8 commits
  • 7 files changed
  • 6 contributors

Commits on Jun 13, 2018

  1. flent: enable man by default

    teto committed Jun 13, 2018
    Copy the full SHA
    e96ce01 View commit details
  2. http-getter: init at 20180606

    Used by flent
    teto committed Jun 13, 2018
    Copy the full SHA
    0080fe9 View commit details

Commits on Jun 21, 2018

  1. yabar: fix build

    The stable build for `yabar` is currently broken: https://hydra.nixos.org/build/75989172
    
    Main reason is that the inline function `ya_setup_prefix_suffix` is
    supposed to be an inline function, but was insufficiently declared as
    such which broke the compiler recently with the following message:
    
    ```
    gcc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\"0.4.0\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c
    gcc -o yabar src/ya_main.o src/ya_draw.o src/ya_exec.o src/ya_parse.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig`
    src/intern_blks/ya_intern.o: In function `ya_int_date':
    ya_intern.c:(.text+0x49): undefined reference to `ya_setup_prefix_suffix'
    src/intern_blks/ya_intern.o: In function `ya_int_uptime':
    ya_intern.c:(.text+0xf4): undefined reference to `ya_setup_prefix_suffix'
    src/intern_blks/ya_intern.o: In function `ya_int_brightness':
    ya_intern.c:(.text+0x1d8): undefined reference to `ya_setup_prefix_suffix'
    src/intern_blks/ya_intern.o: In function `ya_int_bandwidth':
    ya_intern.c:(.text+0x377): undefined reference to `ya_setup_prefix_suffix'
    src/intern_blks/ya_intern.o: In function `ya_int_cpu':
    ya_intern.c:(.text+0x6de): undefined reference to `ya_setup_prefix_suffix'
    src/intern_blks/ya_intern.o:ya_intern.c:(.text+0x924): more undefined references to `ya_setup_prefix_suffix' follow
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:18: yabar] Error 1
    ```
    
    This issue has been fixed on master (see
    geokb/yabar@9779a5e)
    which is why `nixos.yabar-unstable` remained functional.
    Ma27 committed Jun 21, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    2ae3292 View commit details
  2. nixos/thefuck: move init scripts to programs.*.interactiveShellInit

    `fuck` should only be used for interactive sessions, but nothing more
    (so init files like `/etc/zshenv` become even more lightweight).
    Ma27 committed Jun 21, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    6c66e15 View commit details

Commits on Jun 22, 2018

  1. Merge pull request #41614 from teto/flent_wrap

    [RFC/RDY] flent: add manpage + init http-getter
    matthewbauer authored Jun 22, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9185df5 View commit details
  2. jdupes: 1.9 -> 1.10.2

    peterhoeg committed Jun 22, 2018
    Copy the full SHA
    2cee0c4 View commit details
  3. Merge pull request #42356 from Ma27/fix-thefuck-module

    nixos/thefuck: move init scripts to `programs.*.interactiveShellInit`
    Mic92 authored Jun 22, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    85b1312 View commit details
  4. Merge pull request #42346 from Ma27/fix-yabar

    yabar: fix build
    pSub authored Jun 22, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    11a0d13 View commit details
4 changes: 2 additions & 2 deletions nixos/modules/programs/thefuck.nix
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@ in
environment.systemPackages = with pkgs; [ thefuck ];
environment.shellInit = initScript;

programs.zsh.shellInit = mkIf prg.zsh.enable initScript;
programs.fish.shellInit = mkIf prg.fish.enable ''
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable initScript;
programs.fish.interactiveShellInit = mkIf prg.fish.enable ''
${pkgs.thefuck}/bin/thefuck --alias | source
'';
};
7 changes: 5 additions & 2 deletions pkgs/applications/networking/flent/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 }:
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, procps, pyqt5
, sphinx
}:

buildPythonApplication rec {
pname = "flent";
@@ -10,7 +12,8 @@ buildPythonApplication rec {
sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
};

buildInputs = [ netperf ];
buildInputs = [ sphinx ];

propagatedBuildInputs = [
matplotlib
procps
23 changes: 23 additions & 0 deletions pkgs/applications/networking/flent/http-getter.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake
, curl, pkgconfig }:

stdenv.mkDerivation rec {
name = "http-getter";
version = "20180606";

src = fetchFromGitHub {
owner = "tohojo";
repo = "http-getter";
rev = "79bcccce721825a745f089d0c347bbaf2e6e12f4";
sha256 = "1zxk52s1h5qx62idil237zdpj8agrry0w1xwkfx05wvv9sw4ld35";
};

buildInputs = [ cmake pkgconfig curl ];

meta = with stdenv.lib; {
homepage = https://github.com/tohojo/http-getter;
description = "Simple getter for HTTP URLs using cURL";
platforms = platforms.unix;
license = licenses.gpl3;
};
}
4 changes: 3 additions & 1 deletion pkgs/applications/window-managers/yabar/build.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cairo, gdk_pixbuf, libconfig, pango, pkgconfig
, xcbutilwm, alsaLib, wirelesstools, asciidoc, libxslt, makeWrapper, docbook_xsl
, configFile ? null, lib
, rev, sha256, version
, rev, sha256, version, patches ? []
}:

stdenv.mkDerivation {
@@ -14,6 +14,8 @@ stdenv.mkDerivation {
repo = "yabar";
};

inherit patches;

hardeningDisable = [ "format" ];

nativeBuildInputs = [ pkgconfig ];
14 changes: 11 additions & 3 deletions pkgs/applications/window-managers/yabar/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{ callPackage, attrs ? {} }:
{ callPackage, attrs ? {}, fetchpatch }:

let
overrides = {
overrides = rec {
version = "0.4.0";

rev = "746387f0112f9b7aa2e2e27b3d69cb2892d8c63b";
rev = version;
sha256 = "1nw9dar1caqln5fr0dqk7dg6naazbpfwwzxwlkxz42shsc3w30a6";

patches = [
(fetchpatch {
url = "https://github.com/geommer/yabar/commit/9779a5e04bd6e8cdc1c9fcf5d7ac31416af85a53.patch";
sha256 = "1szhr3k1kq6ixgnp74wnzgfvgxm6r4zpc3ny2x2wzy6lh2czc07s";
})
];

} // attrs;
in callPackage ./build.nix overrides
13 changes: 10 additions & 3 deletions pkgs/tools/misc/jdupes/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
name = "jdupes-${version}";
version = "1.9";
version = "1.10.2";

src = fetchFromGitHub {
owner = "jbruchon";
repo = "jdupes";
rev = "v${version}";
sha256 = "0z6hb4jva0pnk5fb1p59qwyglgrpxgpnz4djq3g00y5yxv3sj9z9";
sha256 = "0msp68h1gaipwpvdylpwd6w9al5gcmawj9cmvi7nw8ihh184g3m7";
# Unicode file names lead to different checksums on HFS+ vs. other
# filesystems because of unicode normalisation. The testdir
# directories have such files and will be removed.
@@ -17,6 +17,13 @@ stdenv.mkDerivation rec {

makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optional stdenv.isLinux "ENABLE_BTRFS=1";

enableParallelBuilding = true;

postInstall = ''
install -Dm644 -t $out/share/doc/jdupes CHANGES LICENSE README
'';

meta = with stdenv.lib; {
description = "A powerful duplicate file finder and an enhanced fork of 'fdupes'";
longDescription = ''
@@ -26,7 +33,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/jbruchon/jdupes;
license = licenses.mit;
maintainers = with maintainers; [ romildo ];
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3030,6 +3030,8 @@ with pkgs;

http-prompt = callPackage ../tools/networking/http-prompt { };

http-getter = callPackage ../applications/networking/flent/http-getter.nix { };

httpie = callPackage ../tools/networking/httpie { };

httping = callPackage ../tools/networking/httping {};