diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-18 18:11:03 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-18 18:11:03 -0500 |
commit | 7f3c97ae9ea2aebb93297acad8f9dba32d2cbbbf (patch) | |
tree | 764e4bcc06d1cc1f3ba19e023ed526eedf6ff41b /pkgs/misc/riscv-pk | |
parent | 3ab38ef086947822fbe2cffea071e1c508811990 (diff) |
riscv-pk: Init at 01.pre438_e5846a2.
Diffstat (limited to 'pkgs/misc/riscv-pk')
-rw-r--r-- | pkgs/misc/riscv-pk/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/misc/riscv-pk/default.nix b/pkgs/misc/riscv-pk/default.nix new file mode 100644 index 0000000000000..1800f57d6855a --- /dev/null +++ b/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 ]; + }; +} |