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: d8652430c554
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: b7bbc6d37878
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Feb 26, 2020

  1. qview: use qt5's mkDerivation

    (cherry picked from commit a8eba26)
    worldofpeace committed Feb 26, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    edaeeb2 View commit details
  2. qgo: use qt5's mkDerivation

    (cherry picked from commit f8da067)
    worldofpeace committed Feb 26, 2020
    Copy the full SHA
    d8ef510 View commit details
  3. tikzit: use qt5's mkDerivation

    (cherry picked from commit ffe4009)
    worldofpeace committed Feb 26, 2020
    Copy the full SHA
    7213a44 View commit details
  4. pythonPackages.isort: Add explicit setuptools dep and bin test

    (cherry picked from commit 94a8062)
    Shados authored and FRidh committed Feb 26, 2020
    Copy the full SHA
    b7bbc6d View commit details
14 changes: 11 additions & 3 deletions pkgs/applications/graphics/qview/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{stdenv, fetchFromGitHub, qmake}:
stdenv.mkDerivation rec {
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:

mkDerivation rec {
pname = "qview";
version = "2.0";
src = fetchFromGitHub {
@@ -8,11 +9,18 @@ stdenv.mkDerivation rec {
rev = version;
sha256 = "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5";
};

nativeBuildInputs = [ qmake ];

buildInputs = [
qtbase
];

patchPhase = ''
sed "s|/usr/|$out/|g" -i qView.pro
'';
meta = with stdenv.lib; {

meta = with lib; {
description = "Practical and minimal image viewer";
homepage = "https://interversehq.com/qview/";
license = licenses.gpl3;
19 changes: 16 additions & 3 deletions pkgs/development/python-modules/isort/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, futures, backports_functools_lru_cache, mock, pytest }:
{ lib, buildPythonPackage, fetchPypi, setuptools, isPy27, futures
, backports_functools_lru_cache, mock, pytest
}:

let
skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
@@ -12,13 +14,24 @@ in buildPythonPackage rec {
sha256 = "c40744b6bc5162bbb39c1257fe298b7a393861d50978b565f3ccd9cb9de0182a";
};

propagatedBuildInputs = lib.optionals isPy27 [ futures backports_functools_lru_cache ];
propagatedBuildInputs = [
setuptools
] ++ lib.optionals isPy27 [ futures backports_functools_lru_cache ];

checkInputs = [ mock pytest ];

# isort excludes paths that contain /build/, so test fixtures don't work with TMPDIR=/build/
checkPhase = ''
# isort excludes paths that contain /build/, so test fixtures don't work
# with TMPDIR=/build/
PATH=$out/bin:$PATH TMPDIR=/tmp/ pytest ${testOpts}
# Confirm that the produced executable script is wrapped correctly and runs
# OK, by launching it in a subshell without PYTHONPATH
(
unset PYTHONPATH
echo "Testing that `isort --version-number` returns OK..."
$out/bin/isort --version-number
)
'';

meta = with lib; {
10 changes: 5 additions & 5 deletions pkgs/games/qgo/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv
{ lib
, mkDerivation
, fetchFromGitHub
, makeWrapper
, qmake
, qtbase
, qtmultimedia
, qttranslations
}:

stdenv.mkDerivation {
mkDerivation {
pname = "qgo";
version = "unstable-2017-12-18";

meta = with stdenv.lib; {
meta = with lib; {
description = "A Go client based on Qt5";
longDescription = ''
qGo is a Go Client based on Qt 5. It supports playing online at
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
postPatch = ''
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
'';
nativeBuildInputs = [ makeWrapper qmake ];
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtmultimedia qttranslations ];
enableParallelBuilding = true;

6 changes: 3 additions & 3 deletions pkgs/tools/typesetting/tikzit/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, qmake, qttools, qtbase, libsForQt5, flex, bison }:
{ stdenv, mkDerivation, fetchFromGitHub, qmake, qttools, qtbase, poppler, flex, bison }:

stdenv.mkDerivation {
mkDerivation {
pname = "tikzit";
version = "2.1.4";

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
};

nativeBuildInputs = [ qmake qttools flex bison ];
buildInputs = [ qtbase libsForQt5.poppler ];
buildInputs = [ qtbase poppler ];

# src/data/tikzlexer.l:29:10: fatal error: tikzparser.parser.hpp: No such file or directory
enableParallelBuilding = false;