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: b9fa31cea0e1
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: 928ff62213bb
Choose a head ref
  • 7 commits
  • 5 files changed
  • 5 contributors

Commits on Dec 24, 2018

  1. pythonPackages.django_1_8: refactor move to python-modules

    (cherry picked from commit 4906ff5)
    costrouc authored and Robert Schütz committed Dec 24, 2018
    Copy the full SHA
    7f03676 View commit details
  2. Copy the full SHA
    16d85e5 View commit details

Commits on Dec 25, 2018

  1. masterpdfeditor: 5.1.12 -> 5.1.36

    (cherry picked from commit 899b766)
    Alexandre Peyroux authored and flokli committed Dec 25, 2018
    Copy the full SHA
    c5dee01 View commit details
  2. masterpdfeditor: use qtbase.qtPluginPrefix #44047

    (cherry picked from commit 63b897a)
    Alexandre Peyroux authored and flokli committed Dec 25, 2018
    Copy the full SHA
    79c8e36 View commit details
  3. masterpdfeditor: 5.1.36 -> 5.1.60

    (cherry picked from commit 27298d3)
    Alexandre Peyroux authored and flokli committed Dec 25, 2018
    Copy the full SHA
    0267a5a View commit details
  4. brightnessctl: 0.3.2 -> 0.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/brightnessctl/versions
    r-ryantm authored and andir committed Dec 25, 2018
    Copy the full SHA
    9b2e897 View commit details
  5. Copy the full SHA
    928ff62 View commit details
13 changes: 9 additions & 4 deletions pkgs/applications/misc/masterpdfeditor/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook }:
{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }:

let
version = "5.1.12";
version = "5.1.60";

in stdenv.mkDerivation {
name = "masterpdfeditor-${version}";

src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz";
sha256 = "1i3pdrhnlj06phm36gs42s6b94pigcfb8wa5dhmplxn0dqp434hq";
sha256 = "0br5f04klzpbd25igbjjj1dqasmrcrw2zsan5bv0ydnr2lmpb2fz";
};

nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];

buildInputs = [ nss qtbase qtsvg sane-backends stdenv.cc.cc ];

dontStrip = true;

# Please remove this when #44047 is fixed
postInstall = ''
wrapProgram $out/bin/masterpdfeditor5 --prefix QT_PLUGIN_PATH : ${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
'';

installPhase = ''
runHook preInstall
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/django/1_8.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pythonOlder
}:

buildPythonPackage rec {
name = "Django-${version}";
version = "1.8.19";

src = fetchurl {
url = "http://www.djangoproject.com/m/releases/1.8/${name}.tar.gz";
sha256 = "0iy0ni9j1rnx9b06ycgbg2dkrf3qid3y2jipk9x28cykz5f4mm1k";
};

# too complicated to setup
doCheck = false;

# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';

meta = with stdenv.lib; {
description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/;
license = licenses.bsd0;
};

}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/graphite-web/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, which
, django, django_tagging, whisper, pycairo, cairocffi, ldap, memcached, pytz, urllib3, scandir
}:
if django.version != "1.8.18"
if django.version != "1.8.19"
|| django_tagging.version != "0.4.3"
then throw "graphite-web should be build with django_1_8 and django_tagging_0_4_3"
else buildPythonPackage rec {
16 changes: 7 additions & 9 deletions pkgs/misc/brightnessctl/default.nix
Original file line number Diff line number Diff line change
@@ -2,29 +2,27 @@

stdenv.mkDerivation rec {
name = "brightnessctl-${version}";
version = "0.3.2";
version = "0.4";

src = fetchFromGitHub {
owner = "Hummer12007";
repo = "brightnessctl";
rev = "${version}";
sha256 = "0amxhcikcgj04z81272kz35m5h5q4jx9x7v71h8yl1rv4b2lzh7z";
sha256 = "1n1gb8ldgqv3vs565yhk1w4jfvrviczp94r8wqlkv5q6ab43c8w9";
};

makeFlags = [ "MODE=0755" "PREFIX=" "DESTDIR=$(out)" ];
installTargets = [ "install" "install_udev_rules" ];
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];

postPatch = ''
substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/
substituteInPlace 90-brightnessctl.rules --replace %k '*'
'';

meta = {
meta = with stdenv.lib; {
homepage = "https://github.com/Hummer12007/brightnessctl";
maintainers = [ stdenv.lib.maintainers.Dje4321 ];
license = stdenv.lib.licenses.mit;
description = "This program allows you read and control device brightness";
platforms = stdenv.lib.platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ megheaiulian ];
platforms = platforms.linux;
};

}
26 changes: 2 additions & 24 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -4570,29 +4570,7 @@ in {
gdal = self.gdal;
};

django_1_8 = buildPythonPackage rec {
name = "Django-${version}";
version = "1.8.18";
disabled = pythonOlder "2.7";

src = pkgs.fetchurl {
url = "http://www.djangoproject.com/m/releases/1.8/${name}.tar.gz";
sha256 = "1ishvbihr9pain0486qafb18dnb7v2ppq34nnx1s8f95bvfiqqf7";
};

# too complicated to setup
doCheck = false;

# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';

meta = {
description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/;
};
};
django_1_8 = callPackage ../development/python-modules/django/1_8.nix { };

django-allauth = callPackage ../development/python-modules/django-allauth { };

@@ -4686,7 +4664,7 @@ in {
django_tagging = callPackage ../development/python-modules/django_tagging { };

django_tagging_0_4_3 = if
self.django.version != "1.8.18"
self.django.version != "1.8.19"
then throw "django_tagging_0_4_3 should be build with django_1_8"
else (callPackage ../development/python-modules/django_tagging {}).overrideAttrs (attrs: rec {
pname = "django-tagging";