10 python3.withPackages (
19 stdenv.mkDerivation (finalAttrs: {
20 pname = "smb3-foundry";
23 src = fetchFromGitHub {
25 repo = "SMB3-Foundry";
26 rev = "refs/tags/${finalAttrs.version}";
27 hash = "sha256-8cf7VhvC372Cqi94n2FSHcoCGblpZoZvBXcXq5jU6CY=";
30 buildInputs = [ python ];
35 mkdir -p $out/share/smb3-foundry $out/bin
36 cp -r smb3parse foundry scribe data doc VERSION smb3-foundry.py smb3-scribe.py $out/share/smb3-foundry
38 ln -s $out/share/smb3-foundry/smb3-foundry.py $out/bin/smb3-foundry
39 ln -s $out/share/smb3-foundry/smb3-scribe.py $out/bin/smb3-scribe
45 changelog = "https://github.com/mchlnix/SMB3-Foundry/releases/tag/${finalAttrs.version}";
46 description = "Modern Super Mario Bros. 3 Level Editor";
47 homepage = "https://github.com/mchlnix/SMB3-Foundry";
48 license = lib.licenses.gpl3Only;
49 mainProgram = "smb3-foundry";
50 maintainers = with lib.maintainers; [ tomasajt ];
51 platforms = lib.platforms.unix;