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: 86e68d02b35a
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: 22b401490011
Choose a head ref
  • 14 commits
  • 8 files changed
  • 10 contributors

Commits on Oct 7, 2019

  1. breeze-plymouth: allow usage of custom logo

    Mathieu A.-Tetreault committed Oct 7, 2019
    Copy the full SHA
    001b42d View commit details
  2. Copy the full SHA
    681e63a View commit details

Commits on Oct 8, 2019

  1. Copy the full SHA
    a009dcd View commit details
  2. qtpass: point to lupdate

    dtzWill committed Oct 8, 2019
    Copy the full SHA
    7d733bb View commit details
  3. qtpass: install man page

    dtzWill committed Oct 8, 2019
    Copy the full SHA
    a6ab41f View commit details
  4. Copy the full SHA
    6362fec View commit details
  5. Merge pull request #70686 from dtzWill/update/qtpass-1.3.1

    qtpass: 1.3.0 -> 1.3.1, fixups
    teto authored Oct 8, 2019
    Copy the full SHA
    c47fc57 View commit details
  6. Merge pull request #70661 from makefu/pkgs/nixpkgs-pytools/update

    pythonPackages.nixpkgs-pytools: 1.0.1 -> 1.3.0
    nlewo authored Oct 8, 2019
    Copy the full SHA
    f6b8aed View commit details
  7. purescript: 0.13.0 -> 0.13.3

    justinwoo authored and Matthieu Coudron committed Oct 8, 2019
    Copy the full SHA
    8a97fed View commit details
  8. libbsd: 0.9.1 -> 0.10.0 (#66948)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libbsd/versions
    r-ryantm authored and c0bw3b committed Oct 8, 2019
    Copy the full SHA
    5a952d0 View commit details
  9. maintainers: add alva

    Alva committed Oct 8, 2019
    Copy the full SHA
    4c0b3ca View commit details
  10. oil: add alva as maintainer

    Alva committed Oct 8, 2019
    Copy the full SHA
    d63593b View commit details
  11. Merge pull request #70730 from fjallarefur/oil

    Add myself as a maintainer of the oil package
    lheckemann authored Oct 8, 2019
    Copy the full SHA
    60b2fe6 View commit details
  12. Merge pull request #69357 from mtetreault/plymouth-custom-logo

    breeze-plymouth: allow usage of custom logo
    ttuegel authored Oct 8, 2019
    Copy the full SHA
    22b4014 View commit details
10 changes: 10 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -356,6 +356,16 @@
github = "alunduil";
name = "Alex Brandt";
};
alva = {
email = "alva@skogen.is";
github = "fjallarefur";
githubId = 42881386;
name = "Alva";
keys = [{
longkeyid = "ed25519/0xF53E323342F7A6D3";
fingerprint = "B422 CFB1 C9EF 73F7 E1E2 698D F53E 3233 42F7 A6D3A";
}];
};
amar1729 = {
email = "amar.paul16@gmail.com";
github = "amar1729";
18 changes: 9 additions & 9 deletions nixos/modules/system/boot/plymouth.nix
Original file line number Diff line number Diff line change
@@ -5,17 +5,20 @@ with lib;
let

inherit (pkgs) plymouth;
inherit (pkgs) nixos-icons;

cfg = config.boot.plymouth;

breezePlymouth = pkgs.breeze-plymouth.override {
nixosBranding = true;
nixosVersion = config.system.nixos.release;
nixosBreezePlymouth = pkgs.breeze-plymouth.override {
logoFile = cfg.logo;
logoName = "nixos";
osName = "NixOS";
osVersion = config.system.nixos.release;
};

themesEnv = pkgs.buildEnv {
name = "plymouth-themes";
paths = [ plymouth breezePlymouth ] ++ cfg.themePackages;
paths = [ plymouth ] ++ cfg.themePackages;
};

configFile = pkgs.writeText "plymouthd.conf" ''
@@ -35,7 +38,7 @@ in
enable = mkEnableOption "Plymouth boot splash screen";

themePackages = mkOption {
default = [];
default = [ nixosBreezePlymouth ];
type = types.listOf types.package;
description = ''
Extra theme packages for plymouth.
@@ -52,10 +55,7 @@ in

logo = mkOption {
type = types.path;
default = pkgs.fetchurl {
url = "https://nixos.org/logo/nixos-hires.png";
sha256 = "1ivzgd7iz0i06y36p8m5w48fd8pjqwxhdaavc0pxs7w1g7mcy5si";
};
default = "${nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png";
defaultText = ''pkgs.fetchurl {
url = "https://nixos.org/logo/nixos-hires.png";
sha256 = "1ivzgd7iz0i06y36p8m5w48fd8pjqwxhdaavc0pxs7w1g7mcy5si";
34 changes: 16 additions & 18 deletions pkgs/applications/misc/qtpass/default.nix
Original file line number Diff line number Diff line change
@@ -1,43 +1,41 @@
{ stdenv, lib, mkDerivation, fetchFromGitHub, fetchpatch
, git, gnupg, pass, qtbase, qtsvg, qttools, qmake
{ lib, mkDerivation, fetchFromGitHub
, git, gnupg, pass, pwgen
, qtbase, qtsvg, qttools, qmake
}:

mkDerivation rec {
pname = "qtpass";
version = "1.3.0";
version = "1.3.1";

src = fetchFromGitHub {
owner = "IJHack";
repo = "QtPass";
rev = "v${version}";
sha256 = "0v3ca4fdjk6l24vc9wlc0i7r6fdj85kjmnb7jvicd3f8xi9mvhnv";
sha256 = "025sdk4fq71jgfs54zj7ssgvlci8vvjkqdckgbwz0nqrynlljy08";
};

buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
buildInputs = [ git gnupg pass qtbase qtsvg ];

nativeBuildInputs = [ qmake ];

# Fix missing app icon on Wayland. Has been upstreamed and should be safe to
# remove in versions > 1.3.0
patches = [
(fetchpatch {
url = "https://github.com/IJHack/QtPass/commit/aba8c4180f0ab3d66c44f88b21f137b19d17bde8.patch";
sha256 = "009bcq0d75khmaligzd7736xdzy6a8s1m9dgqybn70h801h92fcr";
})
];
nativeBuildInputs = [ qmake qttools ];

enableParallelBuilding = true;

qmakeFlags = [
# setup hook only sets QMAKE_LRELEASE, set QMAKE_LUPDATE too:
"QMAKE_LUPDATE=${qttools.dev}/bin/lupdate"
];

qtWrapperArgs = [
"--suffix PATH : ${lib.makeBinPath [ git gnupg pass ]}"
"--suffix PATH : ${lib.makeBinPath [ git gnupg pass pwgen ]}"
];

postInstall = ''
install -D qtpass.desktop $out/share/applications/qtpass.desktop
install -D qtpass.desktop -t $out/share/applications
install -D artwork/icon.svg $out/share/icons/hicolor/scalable/apps/qtpass-icon.svg
install -D qtpass.1 -t $out/share/man/man1
'';

meta = with stdenv.lib; {
meta = with lib; {
description = "A multi-platform GUI for pass, the standard unix password manager";
homepage = https://qtpass.org;
license = licenses.gpl3;
43 changes: 24 additions & 19 deletions pkgs/desktops/plasma-5/breeze-plymouth/default.nix
Original file line number Diff line number Diff line change
@@ -8,37 +8,42 @@
imagemagick,
netpbm,
perl,
# these will typically need to be set via an override
# in a NixOS context
nixosBranding ? false,
nixosName ? "NixOS",
nixosVersion ? "",
logoName ? null,
logoFile ? null,
osName ? null,
osVersion ? null,
topColor ? "black",
bottomColor ? "black"
}:

let
logoName = "nixos";
let
validColors = [ "black" "cardboard_grey" "charcoal_grey" "icon_blue" "paper_white" "plasma_blue" "neon_blue" "neon_green" ];
resolvedLogoName = if (logoFile != null && logoName == null) then lib.strings.removeSuffix ".png" (baseNameOf(toString logoFile)) else logoName;
in
assert lib.asserts.assertOneOf "topColor" topColor validColors;
assert lib.asserts.assertOneOf "bottomColor" bottomColor validColors;


mkDerivation {
name = "breeze-plymouth";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ plymouth ] ++ lib.optionals nixosBranding [ imagemagick netpbm perl ];
buildInputs = [ plymouth ] ++ lib.optionals (logoFile != null) [ imagemagick netpbm perl ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
cmakeFlags = lib.optionals nixosBranding [
"-DDISTRO_NAME=${nixosName}"
"-DDISTRO_VERSION=${nixosVersion}"
"-DDISTRO_LOGO=${logoName}"
"-DBACKGROUND_TOP_COLOR=${topColor}"
"-DBACKGROUND_BOTTOM_COLOR=${bottomColor}"
];
cmakeFlags = []
++ lib.optional (osName != null) "-DDISTRO_NAME=${osName}"
++ lib.optional (osVersion != null) "-DDISTRO_VERSION=${osVersion}"
++ lib.optional (logoName != null) "-DDISTRO_LOGO=${logoName}"
++ lib.optional (topColor != null) "-DBACKGROUND_TOP_COLOR=${topColor}"
++ lib.optional (bottomColor != null) "-DBACKGROUND_BOTTOM_COLOR=${bottomColor}"
;

postPatch = ''
substituteInPlace cmake/FindPlymouth.cmake --subst-var out
'' + lib.optionalString nixosBranding ''
cp ${nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png breeze/images/${logoName}.logo.png
'' + lib.optionalString (logoFile != null) ''
cp ${logoFile} breeze/images/${resolvedLogoName}.logo.png
# conversion for 16bit taken from the breeze-plymouth readme
convert ${nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png -alpha Background -background "#000000" -fill "#000000" -flatten tmp.png
pngtopnm tmp.png | pnmquant 16 | pnmtopng > breeze/images/16bit/${logoName}.logo.png
convert ${logoFile} -alpha Background -background "#000000" -fill "#000000" -flatten tmp.png
pngtopnm tmp.png | pnmquant 16 | pnmtopng > breeze/images/16bit/${resolvedLogoName}.logo.png
'';
}
6 changes: 3 additions & 3 deletions pkgs/development/compilers/purescript/purescript/default.nix
Original file line number Diff line number Diff line change
@@ -18,19 +18,19 @@ let

in stdenv.mkDerivation rec {
pname = "purescript";
version = "0.13.0";
version = "0.13.3";

src =
if stdenv.isDarwin
then
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz";
sha256 = "0xpisy38gj6fgyyzm6fdl0v819dhjmil4634xxangvhvs7jf5il0";
sha256 = "04ylhqadj7wnclhiar9il6fkrxmh9qkz6fpas7z3b37w4qg0gshl";
}
else
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz";
sha256 = "06g5q69yv6c3alq9vr8zjqqzamlii7xf6vj9j52akjq5lww214ba";
sha256 = "1xcn694qfql87pdjh09hhvfvpakzxb2hagss61vh9msqq3s96l3z";
};


4 changes: 2 additions & 2 deletions pkgs/development/libraries/libbsd/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "libbsd";
version = "0.9.1";
version = "0.10.0";

src = fetchurl {
url = "https://libbsd.freedesktop.org/releases/${pname}-${version}.tar.xz";
sha256 = "1957w2wi7iqar978qlfsm220dwywnrh5m58nrnn9zmi74ds3bn2n";
sha256 = "11x8q45jvjvf2dvgclds64mscyg10lva33qinf2hwgc84v3svf1l";
};

# darwin changes configure.ac which means we need to regenerate
6 changes: 4 additions & 2 deletions pkgs/development/python-modules/nixpkgs-pytools/default.nix
Original file line number Diff line number Diff line change
@@ -3,22 +3,24 @@
, fetchPypi
, jinja2
, setuptools
, rope
, isPy27
}:

buildPythonPackage rec {
pname = "nixpkgs-pytools";
version = "1.0.1";
version = "1.3.0";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "0796c6e95daeb3d7e61c9c53126d95ba6a48f84b995b12b60f45619caf28a574";
sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
};

propagatedBuildInputs = [
jinja2
setuptools
rope
];

# tests require network ..
2 changes: 1 addition & 1 deletion pkgs/shells/oil/default.nix
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
asl20 # Licence for Oil itself
];

maintainers = with lib.maintainers; [ lheckemann ];
maintainers = with lib.maintainers; [ lheckemann alva ];
};

passthru = {