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: 54084dd821d2
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: 0109c84f7107
Choose a head ref
  • 7 commits
  • 3 files changed
  • 4 contributors

Commits on Apr 19, 2019

  1. mako: 1.2 -> 1.3

    dywedir committed Apr 19, 2019
    Copy the full SHA
    2c47dc2 View commit details

Commits on Apr 20, 2019

  1. chipsec: init at 1.3.6

    JohnAZoidberg committed Apr 20, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    75e08f2 View commit details
  2. chipsec: 1.3.6 -> 1.3.7

    JohnAZoidberg committed Apr 20, 2019
    Copy the full SHA
    18a71fb View commit details

Commits on Apr 21, 2019

  1. chipsec: Kernel driver only works on x86_64-linux

    See: chipsec/chipsec#461
    
    Noticed that when ofBorg failed to build the kernel driver on ARM.
    JohnAZoidberg committed Apr 21, 2019
    Copy the full SHA
    1636f11 View commit details

Commits on Apr 22, 2019

  1. mako: 1.2 -> 1.3 (#59890)

    mako: 1.2 -> 1.3
    dywedir authored Apr 22, 2019
    Copy the full SHA
    364290d View commit details
  2. Copy the full SHA
    9458ddb View commit details
  3. Merge pull request #52988 from JohnAZoidberg/chipsec

    chipsec: init at 1.3.7
    joachifm authored Apr 22, 2019
    Copy the full SHA
    0109c84 View commit details
Showing with 63 additions and 8 deletions.
  1. +12 −7 pkgs/applications/misc/mako/default.nix
  2. +40 −0 pkgs/tools/security/chipsec/default.nix
  3. +11 −1 pkgs/top-level/all-packages.nix
19 changes: 12 additions & 7 deletions pkgs/applications/misc/mako/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc, systemd, pango, cairo
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk_pixbuf
, wayland, wayland-protocols }:

stdenv.mkDerivation rec {
name = "mako-${version}";
version = "1.2";
pname = "mako";
version = "1.3";

src = fetchFromGitHub {
owner = "emersion";
repo = "mako";
repo = pname;
rev = "v${version}";
sha256 = "112b7s5bkvwlgsm2kng2vh8mn6wr3a6c7n1arl9adxlghdym449h";
sha256 = "17azdc37xsbmx13fkfp23vg9lznrv9fh6nhagn64wdq3nhsxm3b6";
};

nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ systemd pango cairo wayland wayland-protocols ];
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
buildInputs = [ systemd pango cairo gdk_pixbuf wayland ];

mesonFlags = [
"-Dicons=enabled" "-Dman-pages=enabled" "-Dzsh-completions=true"
];

meta = with stdenv.lib; {
description = "A lightweight Wayland notification daemon";
40 changes: 40 additions & 0 deletions pkgs/tools/security/chipsec/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, lib, fetchFromGitHub, python27Packages, nasm, libelf
, kernel ? null, withDriver ? false }:
python27Packages.buildPythonApplication rec {
name = "chipsec-${version}";
version = "1.3.7";

src = fetchFromGitHub {
owner = "chipsec";
repo = "chipsec";
rev = version;
sha256 = "00hwhi5f24y429zazhm77l1pp31q7fmx7ks3sfm6d16v89zbcp9a";
};

nativeBuildInputs = [
nasm libelf
];

setupPyBuildFlags = lib.optional (!withDriver) "--skip-driver";

checkPhase = "python setup.py build "
+ lib.optionalString (!withDriver) "--skip-driver "
+ "test";

KERNEL_SRC_DIR = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";

meta = with stdenv.lib; {
description = "Platform Security Assessment Framework";
longDescription = ''
CHIPSEC is a framework for analyzing the security of PC platforms
including hardware, system firmware (BIOS/UEFI), and platform components.
It includes a security test suite, tools for accessing various low level
interfaces, and forensic capabilities. It can be run on Windows, Linux,
Mac OS X and UEFI shell.
'';
license = licenses.gpl2;
homepage = https://github.com/chipsec/chipsec;
maintainers = with maintainers; [ johnazoidberg ];
platforms = if withDriver then [ "x86_64-linux" ] else platforms.all;
};
}
12 changes: 11 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -683,6 +683,11 @@ in

chezmoi = callPackage ../tools/misc/chezmoi { };

chipsec = callPackage ../tools/security/chipsec {
kernel = null;
withDriver = false;
};

clair = callPackage ../tools/admin/clair { };

cloud-sql-proxy = callPackage ../tools/misc/cloud-sql-proxy { };
@@ -2744,7 +2749,7 @@ in
mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc rec {
python = python2;
inherit (python2Packages) gyp;
protobuf = pkgs.protobuf.overrideDerivation (oldAttrs: { stdenv = clangStdenv; });
protobuf = pkgs.protobuf3_6.overrideDerivation (oldAttrs: { stdenv = clangStdenv; });
};

table-extra = callPackage ../tools/inputmethods/fcitx-engines/fcitx-table-extra { };
@@ -15041,6 +15046,11 @@ in

blcr = callPackage ../os-specific/linux/blcr { };

chipsec = callPackage ../tools/security/chipsec {
inherit kernel;
withDriver = true;
};

cryptodev = callPackage ../os-specific/linux/cryptodev { };

cpupower = callPackage ../os-specific/linux/cpupower { };