2
0
Fork 0
Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

54 lines
1.3 KiB

{ flake, pkgs }:
let
upstream = import ./genodelabs { inherit flake pkgs; };
inherit (upstream) genodeSources;
inherit (pkgs) buildPackages callPackage fetchFromGitHub fetchgit stdenv;
dhallPackages =
flake.inputs.nixpkgs.legacyPackages.x86_64-linux.callPackage ./dhall { };
buildDepotWorld = let
genodeWorld = fetchFromGitHub {
owner = "genodelabs";
repo = "genode-world";
rev = "0ed545e55a90c39df23a86eb733961de71d56241";
hash = "sha256-sirmUtLmZ5YnfLKrOvOBafnZW3UW+1LtkiGu85Ma820=";
};
in attrs:
genodeSources.buildDepot (attrs // {
postConfigure = ''
cp -r --no-preserve=mode ${genodeWorld} $GENODE_DIR/repos
'';
});
in upstream // {
bender = buildPackages.callPackage ./bender { };
block_router = callPackage ./block_router { };
dhallGenode = dhallPackages.genode;
nic_bus = callPackage ./nic_bus { };
NOVA = callPackage ./NOVA { };
rtc-dummy = callPackage ./rtc-dummy { };
show_input = callPackage ./show_input { };
solo5 = let drv = callPackage ./solo5 { };
in drv // { tests = drv.tests // { pname = "solo5-tests"; }; };
sotest-producer = callPackage ./sotest-producer { };
ssh_client = buildDepotWorld {
name = "ssh_client";
portInputs = with genodeSources.ports; [ libc libssh openssl zlib ];
};
stdcxx = callPackage ./stdcxx { };
}