chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / sm / smb3-foundry / package.nix
blob2f78261f854ec5317eb45227db240126a50d6ca1
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , python3
5 }:
7 let
8   python = (python3.withPackages (ps: with ps; [
9     pyside6
10     py65
11     qdarkstyle
12   ]));
14 stdenv.mkDerivation (finalAttrs: {
15   pname = "smb3-foundry";
16   version = "1.3.1";
18   src = fetchFromGitHub {
19     owner = "mchlnix";
20     repo = "SMB3-Foundry";
21     rev = "refs/tags/${finalAttrs.version}";
22     hash = "sha256-8cf7VhvC372Cqi94n2FSHcoCGblpZoZvBXcXq5jU6CY=";
23   };
25   buildInputs = [ python ];
27   installPhase = ''
28     runHook preInstall
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
36     runHook postInstall
37   '';
39   meta = {
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;
47   };