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: 38ae3fe584e4
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: 11d491dce56b
Choose a head ref

Commits on Nov 12, 2018

  1. Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    fab6a43 View commit details

Commits on Mar 4, 2019

  1. Zotero: Fix to use patchelf instead of FHS Env.

    Removed buildFHSUserEnv to use `patchelf` on prebuilt binaries and libs. Should fix issue #48814.
    jpathy authored Mar 4, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    142260c View commit details

Commits on Mar 14, 2019

  1. Fix desktop file.

    jpathy authored Mar 14, 2019

    Partially verified

    This commit is signed with the committer’s verified signature. The key has been revoked.
    joachifm’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    453c91a View commit details

Commits on Mar 31, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    c8dd7d4 View commit details

Commits on Apr 10, 2019

  1. go-ethereum: 1.8.25 -> 1.8.26

    xrelkd committed Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    40160d5 View commit details
  2. netbsd.mkDerivation: fix darwin build

    Fixes build of netbsd.make on darwin
    
    Fixes: aab8c7b ('netbsd: add cross target')
    veprbl committed Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    1548084 View commit details
  3. netbsd.mkDerivation: don't supply -z relro

    Fixes netbsd.locale
    
    Fixes: aab8c7b ('netbsd: add cross target')
    veprbl committed Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    81ab32e View commit details
  4. libow: init at 3.2p1

    divi255 committed Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    d44250b View commit details
  5. maintainer: disserman

    divi255 committed Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    f0157c2 View commit details
  6. Merge pull request #56809 from jpathy/patch-2

    Zotero: Fix to use patchelf instead of FHS Env.
    timokau authored Apr 10, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    bd50fc9 View commit details

Commits on Apr 11, 2019

  1. Merge pull request #59278 from veprbl/pr/netbsd_darwin_fix

    netbsd.mkDerivation: fix darwin build
    matthewbauer authored Apr 11, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    51be4c6 View commit details
  2. cask: clean up and byte compile

    bendlas committed Apr 11, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    fcd769b View commit details
  3. vocal: 2.3.0 -> 2.4.0

    Vocal has a new release featuring a number of bug fixes and new
    features. See the full changelog at
    https://github.com/needle-and-thread/vocal/releases/tag/2.4.0.
    jonafato committed Apr 11, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    9404900 View commit details
  4. Merge pull request #59272 from xrelkd/go-ethereum

    go-ethereum: 1.8.25 -> 1.8.26
    adisbladis authored Apr 11, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a97fa8a View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4bdd577 View commit details
  6. Merge pull request #49868 from jfrankenau/fix-triggerhappy

    nixos/triggerhappy: add option user
    ryantm authored Apr 11, 2019
    Copy the full SHA
    0960fc7 View commit details
  7. drawpile: set meta.platforms (#57888)

    tobiasBora authored and veprbl committed Apr 11, 2019
    Copy the full SHA
    c0d2705 View commit details
  8. vocal: cleanup

    worldofpeace committed Apr 11, 2019
    Copy the full SHA
    991f77b View commit details
  9. Merge pull request #58625 from xzfc/aria2

    aria2: Add sphinx build dependency to generate man pages
    matthewbauer authored Apr 11, 2019
    Copy the full SHA
    28d8334 View commit details
  10. Merge pull request #59290 from jonafato/vocal-2.4.0

    vocal: 2.3.0 -> 2.4.0
    worldofpeace authored Apr 11, 2019
    Copy the full SHA
    a9489f4 View commit details
  11. Copy the full SHA
    49c646c View commit details
  12. Merge pull request #59077 from divi255/master

    libow: init at 3.2p1
    srhb authored Apr 11, 2019
    Copy the full SHA
    99eddf3 View commit details
  13. pipenv: Ignore Python site-packages

    pipenv nix wrapper contains a PYTHONPATH which has some dependencies
    for pipenv installed. pipenv by default uses site-packages when
    resolving packages, which means that any package that is included in
    the nix wrapper is satisfied when running `pipenv install`.
    
    But when the actual virtualenv created by pipenv is activated, it
    doesn't contain those packages anymore and fails to import them.
    
    pipenv has a flag PIP_IGNORE_INSTALLED which can be used to ignore
    site-packages. Which fixes the problem of having different resolved
    packages when running pipenv and when running the virtualenv.
    Väinö Järvelä authored and FRidh committed Apr 11, 2019
    Copy the full SHA
    11d491d View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1234,6 +1234,11 @@
github = "disassembler";
name = "Samuel Leathers";
};
disserman = {
email = "disserman@gmail.com";
github = "divi255";
name = "Sergei S.";
};
dizfer = {
email = "david@izquierdofernandez.com";
github = "dizfer";
11 changes: 10 additions & 1 deletion nixos/modules/services/hardware/triggerhappy.nix
Original file line number Diff line number Diff line change
@@ -57,6 +57,15 @@ in
'';
};

user = mkOption {
type = types.str;
default = "nobody";
example = "root";
description = ''
User account under which <command>triggerhappy</command> runs.
'';
};

bindings = mkOption {
type = types.listOf (types.submodule bindingCfg);
default = [];
@@ -96,7 +105,7 @@ in
after = [ "local-fs.target" ];
description = "Global hotkey daemon";
serviceConfig = {
ExecStart = "${pkgs.triggerhappy}/bin/thd --user nobody --socket ${socket} --triggers ${configFile} --deviceglob /dev/input/event*";
ExecStart = "${pkgs.triggerhappy}/bin/thd ${optionalString (cfg.user != "root") "--user ${cfg.user}"} --socket ${socket} --triggers ${configFile} --deviceglob /dev/input/event*";
};
};

4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/go-ethereum.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildGoPackage rec {
name = "go-ethereum-${version}";
version = "1.8.25";
version = "1.8.26";
goPackagePath = "github.com/ethereum/go-ethereum";

# Fix for usb-related segmentation faults on darwin
@@ -16,7 +16,7 @@ buildGoPackage rec {
owner = "ethereum";
repo = "go-ethereum";
rev = "v${version}";
sha256 = "0kjmr4brw6vszmqqyx8q330nfav8sy4ggn010n254gbi461zy5j7";
sha256 = "0i7shrwix5j8l5i0ap5pzhninwyk2kvm1pax27pnnjlpam8577i4";
};

meta = with stdenv.lib; {
40 changes: 29 additions & 11 deletions pkgs/applications/audio/vocal/default.nix
Original file line number Diff line number Diff line change
@@ -1,41 +1,59 @@
{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, pantheon, gtk3, libxml2, webkitgtk, clutter-gtk
, clutter-gst, libunity, libnotify, sqlite, gst_all_1, libsoup, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, cmake
, ninja
, pkgconfig
, pantheon
, gtk3
, glib
, libxml2
, webkitgtk
, clutter-gtk
, clutter-gst
, libunity
, libnotify
, sqlite
, gst_all_1
, libsoup
, json-glib
, libgee
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
pname = "vocal";
version = "2.3.0";

name = "${pname}-${version}";
version = "2.4.0";

src = fetchFromGitHub {
owner = "needle-and-thread";
repo = pname;
rev = version;
sha256 = "1wkkyai14in4yk3q4qq23wk3l49px2xi8z819y3glna236qsq6qp";
sha256 = "09g9692rckdwh1i5krqgfwdx4p67b1q5834cnxahxzpq4p08rf5w";
};

nativeBuildInputs = [
cmake
gobject-introspection
libxml2
ninja
pkgconfig
pantheon.vala
pkgconfig
wrapGAppsHook
];

buildInputs = with gst_all_1; [
clutter-gst
clutter-gtk
pantheon.elementary-icon-theme
gnome3.libgee
pantheon.granite
glib
gst-plugins-base
gst-plugins-good
gstreamer
gtk3
json-glib
libgee
libnotify
libunity
pantheon.elementary-icon-theme
pantheon.granite
sqlite
webkitgtk
];
1 change: 1 addition & 0 deletions pkgs/applications/graphics/drawpile/default.nix
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
downloadPage = https://drawpile.net/download/;
license = licenses.gpl3;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.unix;
};
}

181 changes: 127 additions & 54 deletions pkgs/applications/office/zotero/default.nix
Original file line number Diff line number Diff line change
@@ -1,67 +1,140 @@
{ stdenv, fetchurl, buildFHSUserEnv, makeDesktopItem, runCommand, bash, wrapGAppsHook, gsettings-desktop-schemas, gtk3, gnome3 }:

let
version = "5.0.60";
meta = with stdenv.lib; {
homepage = https://www.zotero.org;
description = "Collect, organize, cite, and share your research sources";
license = licenses.agpl3;
platforms = platforms.linux;
};

zoteroSrc = stdenv.mkDerivation rec {
inherit version;
name = "zotero-${version}-pkg";
{ stdenv, fetchurl, wrapGAppsHook, makeDesktopItem
, atk
, cairo
, curl
, cups
, dbus-glib
, dbus
, fontconfig
, freetype
, gdk_pixbuf
, glib
, glibc
, gtk3
, libX11
, libXScrnSaver
, libxcb
, libXcomposite
, libXcursor
, libXdamage
, libXext
, libXfixes
, libXi
, libXinerama
, libXrender
, libXt
, libnotify
, gnome3
, libGLU_combined
, nspr
, nss
, pango
, coreutils
, gnused
, gsettings-desktop-schemas
}:

stdenv.mkDerivation rec {
name = "zotero-${version}";
version = "5.0.60";

src = fetchurl {
url = "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
sha256 = "0753xk95shhxma4dvdxrj2q6y81z8lianxg7jnab9m17fb67jy2d";
};

buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme gnome3.dconf ];
phases = [ "unpackPhase" "installPhase" "fixupPhase"];

installPhase = ''
mkdir -p $out/data
cp -r * $out/data
mkdir $out/bin
ln -s $out/data/zotero $out/bin/zotero
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];

dontStrip = true;
dontPatchELF = true;

libPath = stdenv.lib.makeLibraryPath
[ stdenv.cc.cc
atk
cairo
curl
cups
dbus-glib
dbus
fontconfig
freetype
gdk_pixbuf
glib
glibc
gtk3
libX11
libXScrnSaver
libXcomposite
libXcursor
libxcb
libXdamage
libXext
libXfixes
libXi
libXinerama
libXrender
libXt
libnotify
libGLU_combined
nspr
nss
pango
] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [
stdenv.cc.cc
];

patchPhase = ''
sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' defaults/preferences/prefs.js
'';
};

fhsEnv = buildFHSUserEnv {
name = "zotero-fhs-env";
targetPkgs = pkgs: with pkgs; with xorg; [
gtk3 dbus-glib glib
libXt nss
libX11
];
};
desktopItem = makeDesktopItem rec {
name = "zotero-${version}";
exec = "zotero -url %U";
icon = "zotero";
type = "Application";
comment = meta.description;
desktopName = "Zotero";
genericName = "Reference Management";
categories = "Office;Database;";
startupNotify = "true";
mimeType = "text/plain";
};

desktopItem = makeDesktopItem rec {
name = "zotero-${version}";
exec = "zotero -url %U";
icon = "zotero";
type = "Application";
comment = meta.description;
desktopName = "Zotero";
genericName = "Reference Management";
categories = "Office;Database;";
startupNotify = "true";
};
installPhase =
''
mkdir -p "$prefix/usr/lib/zotero-bin-${version}"
cp -r * "$prefix/usr/lib/zotero-bin-${version}"
mkdir -p "$out/bin"
ln -s "$prefix/usr/lib/zotero-bin-${version}/zotero" "$out/bin/"
in runCommand "zotero-${version}" { inherit meta; } ''
mkdir -p $out/bin $out/share/applications
cat >$out/bin/zotero <<EOF
#!${bash}/bin/bash
${fhsEnv}/bin/zotero-fhs-env ${zoteroSrc}/bin/zotero
EOF
chmod +x $out/bin/zotero
# install desktop file and icons.
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications/
for size in 16 32 48 256; do
install -Dm444 chrome/icons/default/default$size.png \
$out/share/icons/hicolor/''${size}x''${size}/apps/zotero.png
done
cp ${desktopItem}/share/applications/* $out/share/applications/
for executable in \
zotero-bin plugin-container \
updater minidump-analyzer
do
if [ -e "$out/usr/lib/zotero-bin-${version}/$executable" ]; then
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
"$out/usr/lib/zotero-bin-${version}/$executable"
fi
done
find . -executable -type f -exec \
patchelf --set-rpath "$libPath" \
"$out/usr/lib/zotero-bin-${version}/{}" \;
'';

for size in 16 32 48 256; do
install -Dm444 ${zoteroSrc}/data/chrome/icons/default/default$size.png \
$out/share/icons/hicolor/''${size}x''${size}/apps/zotero.png
done
''
meta = with stdenv.lib; {
homepage = https://www.zotero.org;
description = "Collect, organize, cite, and share your research sources";
license = licenses.agpl3;
platforms = platforms.linux;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ffmpeg/4.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, Cocoa, CoreMedia, VideoToolbox
, ...
}@args:

callPackage ./generic.nix (args // rec {
version = "${branch}";
branch = "4.1.2";
sha256 = "00yzwc2g97h8ws0haz1p0ahaavhgrbha6xjdc53a5vyfy3zyy3i0";
darwinFrameworks = [ Cocoa CoreMedia ];
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
})
43 changes: 43 additions & 0 deletions pkgs/development/libraries/libow/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, libtool }:

stdenv.mkDerivation rec {
version = "3.2p1";
name = "libow-${version}";

src = fetchFromGitHub {
owner = "owfs";
repo = "owfs";
rev = "v${version}";
sha256 = "17jhhvlqzndf7q3xnb8bjf4j0j905c420cbxabwpz8xac3z62vb8";
};

nativeBuildInputs = [ autoconf automake pkgconfig ];

meta = with stdenv.lib; {
description = "1-Wire File System full library";
homepage = http://owfs.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ disserman ];
platforms = platforms.unix;
};

buildInputs = [ libtool ];

preConfigure = "./bootstrap";

configureFlags = [
"--disable-owtcl"
"--disable-owphp"
"--disable-owpython"
"--disable-zero"
"--disable-owshell"
"--disable-owhttpd"
"--disable-owftpd"
"--disable-owserver"
"--disable-owperl"
"--disable-owtcl"
"--disable-owtap"
"--disable-owmon"
"--disable-owexternal"
];
}
Loading