8 python = (python3.withPackages (ps: with ps; [
14 stdenv.mkDerivation (finalAttrs: {
15 pname = "smb3-foundry";
18 src = fetchFromGitHub {
20 repo = "SMB3-Foundry";
21 rev = "refs/tags/${finalAttrs.version}";
22 hash = "sha256-8cf7VhvC372Cqi94n2FSHcoCGblpZoZvBXcXq5jU6CY=";
25 buildInputs = [ python ];
30 mkdir -p $out/share/smb3-foundry $out/bin
31 cp -r smb3parse foundry scribe data doc VERSION smb3-foundry.py smb3-scribe.py $out/share/smb3-foundry
33 ln -s $out/share/smb3-foundry/smb3-foundry.py $out/bin/smb3-foundry
34 ln -s $out/share/smb3-foundry/smb3-scribe.py $out/bin/smb3-scribe
40 changelog = "https://github.com/mchlnix/SMB3-Foundry/releases/tag/${finalAttrs.version}";
41 description = "Modern Super Mario Bros. 3 Level Editor";
42 homepage = "https://github.com/mchlnix/SMB3-Foundry";
43 license = lib.licenses.gpl3Only;
44 mainProgram = "smb3-foundry";
45 maintainers = with lib.maintainers; [ tomasajt ];
46 platforms = lib.platforms.unix;