2
0
Fork 0
Browse Source

Add rtc-dummy driver

ncurses
Emery Hemingway 2 years ago
parent
commit
3f646b6fa6
  1. 2
      packages/default.nix
  2. 2
      packages/genodelabs/targets.nix
  3. 24
      packages/rtc-dummy/default.nix

2
packages/default.nix

@ -91,6 +91,8 @@ in depotPkgs // {
NOVA = callPackage ./NOVA { };
rtc-dummy = callPackage ./rtc-dummy { };
solo5 = let drv = callPackage ./solo5 { };
in drv // { tests = drv.tests // { pname = "solo5-tests"; }; };

2
packages/genodelabs/targets.nix

@ -27,6 +27,8 @@ with ports; {
posix.portInputs = [ libc ];
rtc_drv.meta.platforms = [ "x86_64-genode" ];
rump = {
portInputs = [ dde_rump ];
buildInputs = with buildPackages; [ zlib ];

24
packages/rtc-dummy/default.nix

@ -0,0 +1,24 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {
pname = "rtc_dummy";
version = "0.0.0";
nativeBuildInputs = [ tup ];
src = fetchgit {
url = "https://git.sr.ht/~ehmry/rtc-dummy";
rev = "42c8a0453853816b99c56fc7bde8e1039b2ec0a7";
sha256 = "1rs081cxwbf2sra383j7r9xrg12gqf591hiyb4h2h3qa9pc6p602";
};
installPhase = "install -Dm755 ./rtc-dummy $out/rtc_drv";
meta = with stdenv.lib; {
license = licenses.agpl3;
maintainers = [ maintainers.ehmry ];
};
}
Loading…
Cancel
Save