Unverified Commit 1b3db2fe authored by TomaSajt's avatar TomaSajt
Browse files

treewide: migrate my python packages to use finalAttrs

parent 2a79c09f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
  ghostscript,
}:

python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
  version = "6.0.6";
  pname = "gramps";
  pyproject = true;
@@ -30,7 +30,7 @@ python3Packages.buildPythonApplication rec {
  src = fetchFromGitHub {
    owner = "gramps-project";
    repo = "gramps";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-+sWO+c7haKXH42JVT6Zpz70cHdGC/TPgBUMSD+0+/JI=";
  };

@@ -113,7 +113,7 @@ python3Packages.buildPythonApplication rec {
      pinpox
      tomasajt
    ];
    changelog = "https://github.com/gramps-project/gramps/blob/${src.tag}/ChangeLog";
    changelog = "https://github.com/gramps-project/gramps/blob/${finalAttrs.src.rev}/ChangeLog";
    longDescription = ''
      Every person has their own story but they are also part of a collective
      family history. Gramps gives you the ability to record the many details of
@@ -123,4 +123,4 @@ python3Packages.buildPythonApplication rec {
    '';
    license = lib.licenses.gpl2Plus;
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "makejinja";
  version = "2.8.2";
  pyproject = true;
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
  src = fetchFromGitHub {
    owner = "mirkolenz";
    repo = "makejinja";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-TH4pgohh6yIgsPtsHnYSUr17Apk8C02KD+8sNO5GOf8=";
  };

@@ -46,6 +46,6 @@ python3Packages.buildPythonApplication rec {
      mirkolenz
    ];
    platforms = lib.platforms.darwin ++ lib.platforms.linux;
    changelog = "https://github.com/mirkolenz/makejinja/blob/${src.tag}/CHANGELOG.md";
    changelog = "https://github.com/mirkolenz/makejinja/blob/${finalAttrs.src.rev}/CHANGELOG.md";
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "mokuro";
  version = "0.2.2";
  pyproject = true;
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
  src = fetchFromGitHub {
    owner = "kha-white";
    repo = "mokuro";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-cdbkculYPPWCSqBufpgt4EU3ne6KU2Dxk0xsvkdMZHA=";
    fetchSubmodules = true;
  };
@@ -43,11 +43,11 @@ python3Packages.buildPythonApplication rec {
  doCheck = false;

  meta = {
    changelog = "https://github.com/kha-white/mokuro/releases/tag/v${version}";
    changelog = "https://github.com/kha-white/mokuro/releases/tag/${finalAttrs.src.tag}";
    description = "Read Japanese manga inside browser with selectable text";
    homepage = "https://github.com/kha-white/mokuro";
    license = lib.licenses.gpl3Only;
    mainProgram = "mokuro";
    maintainers = with lib.maintainers; [ tomasajt ];
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ let
  ]
  ++ lib.optional textToSpeechSupport flite;
in
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "portablemc";
  version = "4.4.1";
  pyproject = true;
@@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec {
  src = fetchFromGitHub {
    owner = "mindstorm38";
    repo = "portablemc";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-KE1qf6aIcDjwKzrdKDUmriWfAt+vuriew6ixHKm0xs8=";
  };

@@ -93,9 +93,9 @@ python3Packages.buildPythonApplication rec {
      Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt.
      This launcher is compatible with the standard Minecraft directories.
    '';
    changelog = "https://github.com/mindstorm38/portablemc/releases/tag/v${version}";
    changelog = "https://github.com/mindstorm38/portablemc/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.gpl3Only;
    mainProgram = "portablemc";
    maintainers = with lib.maintainers; [ tomasajt ];
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  SDL2,
}:

python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
  pname = "pyxel";
  version = "2.3.18";
  pyproject = true;
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
  src = fetchFromGitHub {
    owner = "kitao";
    repo = "pyxel";
    rev = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-pw1ZDmQ7zGwfM98jjym34RbLmUbjuuUnCoPGczxdai8=";
  };

@@ -52,7 +52,7 @@ python3.pkgs.buildPythonApplication rec {
  ];

  meta = {
    changelog = "https://github.com/kitao/pyxel/tree/${src.rev}/CHANGELOG.md";
    changelog = "https://github.com/kitao/pyxel/tree/${finalAttrs.src.rev}/CHANGELOG.md";
    description = "Retro game engine for Python";
    homepage = "https://github.com/kitao/pyxel";
    license = lib.licenses.mit;
@@ -60,4 +60,4 @@ python3.pkgs.buildPythonApplication rec {
    maintainers = with lib.maintainers; [ tomasajt ];
    platforms = lib.platforms.linux ++ lib.platforms.darwin;
  };
}
})
Loading