Skip to content

Commit

Permalink
riscv-pk: Init at 01.pre438_e5846a2.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Feb 18, 2018
1 parent 3ab38ef commit 7f3c97a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/misc/riscv-pk/default.nix
@@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, autoreconfHook }: let
rev = "e5846a2bc707eaa58dc8ab6a8d20a090c6ee8570";
sha256 = "1clynpp70fnbgsjgxx7xi0vrdrj1v0h8zpv0x26i324kp2gwylf4";
revCount = "438";
shortRev = "e5846a2";
in stdenv.mkDerivation {
name = "riscv-pk-0.1pre${revCount}_${shortRev}";

src = fetchFromGitHub {
owner = "riscv";
repo = "riscv-pk";
inherit rev sha256;
};

nativeBuildInputs = [ autoreconfHook ];

preConfigure = ''
mkdir build
cd build
'';

configureScript = "../configure";

hardeningDisable = [ "all" ];

meta = {
description = "RISC-V Proxy Kernel and Bootloader.";
homepage = https://github.com/riscv/riscv-pk;
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintianers.shlevy ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -13541,6 +13541,8 @@ with pkgs;

rfkill_udev = callPackage ../os-specific/linux/rfkill/udev.nix { };

riscv-pk = callPackage ../misc/riscv-pk { };

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

rt5677-firmware = callPackage ../os-specific/linux/firmware/rt5677 { };
Expand Down

2 comments on commit 7f3c97a

@xeji
Copy link
Contributor

@xeji xeji commented on 7f3c97a Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shlevy typo: maintainers = [ stdenv.lib.maintianers.shlevy ];
makes all GrahamcOfBorg checks fail

@shlevy
Copy link
Member Author

@shlevy shlevy commented on 7f3c97a Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

Please sign in to comment.