11 lines
340 B
Nix
11 lines
340 B
Nix
|
{ lib, runCommand, fetchFromBittorrent }:
|
||
|
let
|
||
|
torrent = fetchFromBittorrent {
|
||
|
url = "https://archive.org/download/super-mario-64-usa/super-mario-64-usa_archive.torrent";
|
||
|
hash = "sha256-6tkCKQD2modogcTo0ESookWJDm7rjA79t5ZOVz3luYM=";
|
||
|
};
|
||
|
in
|
||
|
runCommand "baserom.us.z64" { } ''
|
||
|
cp "${torrent}/Super Mario 64 (U) [!].z64" "$out"
|
||
|
''
|