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: e04f56eb7548
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: 0f43790d2ce2
Choose a head ref
  • 14 commits
  • 15 files changed
  • 8 contributors

Commits on Feb 9, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lukekarrys Luke Karrys
    Copy the full SHA
    44936c4 View commit details
  2. Copy the full SHA
    76b3cd6 View commit details

Commits on Feb 10, 2019

  1. dirvish: init at 1.2.1

    winpat committed Feb 10, 2019
    Copy the full SHA
    9cf5079 View commit details
  2. maintainer-list: add winpat

    winpat committed Feb 10, 2019
    Copy the full SHA
    c03098d View commit details

Commits on Feb 23, 2019

  1. python.pkgs.ifaddr: 0.1.4 -> 0.1.6

    Robert Schütz committed Feb 23, 2019
    Copy the full SHA
    6c5786a View commit details

Commits on Feb 24, 2019

  1. vcs_query: init at 0.4.0 (#55514)

    This is a simple, python-based CLI utility that queries vCard files for
    a certain pattern. It's fairly easy to integrate with e.g. NeoMutt to
    look for contacts.
    Ma27 authored and xeji committed Feb 24, 2019
    Copy the full SHA
    225f8b9 View commit details
  2. bfs: 1.3.2 -> 1.3.3 (#55911)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/bfs/versions
    r-ryantm authored and xeji committed Feb 24, 2019
    Copy the full SHA
    ed239c3 View commit details
  3. Merge pull request #55488 from winpat/add_dirvish

    dirvish: init at 1.2.1
    xeji authored Feb 24, 2019
    Copy the full SHA
    631bc2c View commit details
  4. nomachine-client: 6.4.6_1 -> 6.5.6 (#56269)

    Update package. Also, since the last digit differs between the 32- and
    64-bit version, remove it from the version number and introduce two
    separate variables - one for each architecture.
    talyz authored and xeji committed Feb 24, 2019
    Copy the full SHA
    fb58041 View commit details
  5. yanone-kaffeesatz: init at 2004 (#55622)

    mt-caret authored and xeji committed Feb 24, 2019
    Copy the full SHA
    7498aff View commit details
  6. esphome: 1.10.1 -> 1.11.1

    Robert Schütz committed Feb 24, 2019
    Copy the full SHA
    1011da3 View commit details
  7. Copy the full SHA
    50a17aa View commit details
  8. Merge pull request #56225 from dotlambda/esphome-1.11.0

    esphome: 1.10.1 -> 1.11.1
    dotlambda authored Feb 24, 2019
    Copy the full SHA
    6e5a66f View commit details
  9. Copy the full SHA
    0f43790 View commit details
5 changes: 5 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -561,6 +561,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "OpenSSL License";
};

osl2 = spdx {
spdxId = "OSL-2.0";
fullName = "Open Software License 2.0";
};

osl21 = spdx {
spdxId = "OSL-2.1";
fullName = "Open Software License 2.1";
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -5020,6 +5020,11 @@
email = "windenntw@gmail.com";
name = "Antonio Vargas Gonzalez";
};
winpat = {
email = "patrickwinter@posteo.ch";
github = "winpat";
name = "Patrick Winter";
};
wizeman = {
email = "rcorreia@wizy.org";
github = "wizeman";
6 changes: 6 additions & 0 deletions pkgs/applications/networking/browsers/qutebrowser/default.nix
Original file line number Diff line number Diff line change
@@ -53,7 +53,13 @@ in python3Packages.buildPythonApplication rec {
pyreadability pykeepass stem
];

patches = [
./fix-restart.patch
];

postPatch = ''
substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
sed -i "s,/usr/share/,$out/share/,g" qutebrowser/utils/standarddir.py
'' + lib.optionalString withPdfReader ''
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/qutebrowser/app.py b/qutebrowser/app.py
index 2b6896b76..ee05f379d 100644
--- a/qutebrowser/app.py
+++ b/qutebrowser/app.py
@@ -555,22 +555,8 @@ class Quitter:
args: The commandline as a list of strings.
cwd: The current working directory as a string.
"""
- if os.path.basename(sys.argv[0]) == 'qutebrowser':
- # Launched via launcher script
- args = [sys.argv[0]]
- cwd = None
- elif hasattr(sys, 'frozen'):
- args = [sys.executable]
- cwd = os.path.abspath(os.path.dirname(sys.executable))
- else:
- args = [sys.executable, '-m', 'qutebrowser']
- cwd = os.path.join(
- os.path.abspath(os.path.dirname(qutebrowser.__file__)), '..')
- if not os.path.isdir(cwd):
- # Probably running from a python egg. Let's fallback to
- # cwd=None and see if that works out.
- # See https://github.com/qutebrowser/qutebrowser/issues/323
- cwd = None
+ args = ['@qutebrowser@']
+ cwd = None

# Add all open pages so they get reopened.
page_args = []
22 changes: 22 additions & 0 deletions pkgs/data/fonts/yanone-kaffeesatz/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{stdenv, fetchzip}:

fetchzip {
name = "yanone-kaffeesatz-2004";

url = https://yanone.de/2015/data/UIdownloads/Yanone%20Kaffeesatz.zip;

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

sha256 = "190c4wx7avy3kp98lsyml7kc0jw7csf5n79af2ypbkhsadfsy8di";

meta = {
description = "The free font classic";
maintainers = with stdenv.lib.maintainers; [ mt-caret ];
platforms = with stdenv.lib.platforms; all;
homepage = https://yanone.de/fonts/kaffeesatz/;
license = stdenv.lib.licenses.ofl;
};
}
12 changes: 3 additions & 9 deletions pkgs/development/python-modules/ifaddr/default.nix
Original file line number Diff line number Diff line change
@@ -7,24 +7,18 @@
}:

buildPythonPackage rec {
version = "0.1.4";
version = "0.1.6";
pname = "ifaddr";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b";
sha256 = "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93";
};

# ipaddress is provided in python stdlib > 3.3
postPatch = if pythonOlder "3.4" then "" else ''
sed -i "s/'ipaddress'//" setup.py
'';

propagatedBuildInputs = [ ipaddress ];

checkPhase = ''
${python.interpreter} ifaddr/test_ifaddr.py
${python.interpreter} -m unittest discover
'';

meta = with stdenv.lib; {
17 changes: 6 additions & 11 deletions pkgs/development/python-modules/pytest-httpbin/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
{ buildPythonPackage
, lib
, fetchFromGitHub
, fetchPypi
, pytest
, flask
, decorator
, httpbin
, six
, requests
}:

buildPythonPackage rec {
pname = "pytest-httpbin";
version = "0.3.0";
version = "1.0.0";

src = fetchFromGitHub {
owner = "kevin1024";
repo = "pytest-httpbin";
rev = "v${version}";
sha256 = "0p86ljx775gxxicscs1dydmmx92r1g9bs00vdvxrsl3qdll1ksfm";
src = fetchPypi {
inherit pname version;
sha256 = "0wlvw5qgkax7f0i5ks1562s37h2hdmn5yxnp1rajcc2289zm9knq";
};

checkInputs = [ pytest ];

propagatedBuildInputs = [ flask decorator httpbin six requests ];
propagatedBuildInputs = [ httpbin six ];

checkPhase = ''
py.test
119 changes: 0 additions & 119 deletions pkgs/servers/home-assistant/dont-import-platformio-esptool.patch

This file was deleted.

32 changes: 15 additions & 17 deletions pkgs/servers/home-assistant/esphome.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
{ lib, python3, fetchpatch, substituteAll, platformio, esptool }:
{ lib, python3, fetchpatch, platformio, esptool, git }:

python3.pkgs.buildPythonApplication rec {
pname = "esphomeyaml";
version = "1.10.1";
pname = "esphome";
version = "1.11.1";

src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "426cd545b4e9505ce5b4f5c63d2d54cb038f93fe3ba9d4d56b6b6431b222485d";
sha256 = "1764q4wyl8qlk2514gikv8178c8fwhhvbw64zkd76nb107hxzrk5";
};

patches = [
(substituteAll {
src = ./dont-import-platformio-esptool.patch;
inherit platformio esptool;
})
];

postPatch = ''
# typing is part of the standard library since Python 3.5
substituteInPlace setup.py --replace "'typing>=3.0.0'," ""
'';
ESPHOME_USE_SUBPROCESS = "";

propagatedBuildInputs = with python3.pkgs; [
voluptuous pyyaml paho-mqtt colorlog
tornado protobuf tzlocal pyserial
tornado protobuf tzlocal pyserial ifaddr
];

makeWrapperArgs = [
# platformio is used in esphomeyaml/platformio_api.py
# esptool is used in esphomeyaml/__main__.py
# git is used in esphomeyaml/writer.py
"--prefix PATH : ${lib.makeBinPath [ platformio esptool git ]}"
"--set ESPHOME_USE_SUBPROCESS ''"
];

checkPhase = ''
@@ -36,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {

meta = with lib; {
description = "Make creating custom firmwares for ESP32/ESP8266 super easy";
homepage = https://esphomelib.com/esphomeyaml;
homepage = https://esphome.io/;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
16 changes: 9 additions & 7 deletions pkgs/tools/admin/nomachine-client/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{ stdenv, lib, file, fetchurl, makeWrapper,
autoPatchelfHook, jsoncpp, libpulseaudio }:
let
versionMajor = "6.4";
versionMinor = "6_1";
versionMajor = "6.5";
versionMinor = "6";
versionBuild_x86_64 = "9";
versionBuild_i686 = "8";
in
stdenv.mkDerivation rec {
name = "nomachine-client-${version}";
pname = "nomachine-client";
version = "${versionMajor}.${versionMinor}";

src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_x86_64.tar.gz";
sha256 = "141pv277kl5ij1pmc0iadc0hnslxri2qaqvsjkmmvls4432jh0yi";
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
sha256 = "07lg5yadxpl5qfvvh067b3kxd8hm3xv95ralm2pyjl4lw6aql46p";
}
else if stdenv.hostPlatform.system == "i686-linux" then
fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_i686.tar.gz";
sha256 = "0a2vi4ygw34yw8rcjhw17mqx5qbjnym4jkap8paik8lisb5mhnyj";
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
sha256 = "1a23isw09vicazkrypq0kxbb8qy2i4vxiarrgz5xmasjhiy5999a";
}
else
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
Loading