1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 pkg-config,
7 fuse,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "romdirfs";
12 version = "1.2";
13
14 src = fetchFromGitHub {
15 owner = "mlafeldt";
16 repo = "romdirfs";
17 rev = "v${version}";
18 sha256 = "1jbsmpklrycz5q86qmzvbz4iz2g5fvd7p9nca160aw2izwpws0g7";
19 };
20
21 nativeBuildInputs = [
22 cmake
23 pkg-config
24 ];
25 buildInputs = [ fuse ];
26
27 meta = with lib; {
28 description = "FUSE for access Playstation 2 IOP IOPRP images and BIOS dumps";
29 homepage = "https://github.com/mlafeldt/romdirfs";
30 license = licenses.gpl3;
31 platforms = platforms.unix;
32 maintainers = [ ];
33 mainProgram = "romdirfs";
34 };
35}