Commit 000e91be authored by Yiyu Zhou's avatar Yiyu Zhou
Browse files

umu-launcher-unwrapped: cleanup

parent 8c7fd420
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -3,13 +3,14 @@
  cargo,
  fetchFromGitHub,
  lib,
  nix-update-script,
  python3Packages,
  rustPlatform,
  scdoc,
  writableTmpDirAsHomeHook,
  withTruststore ? true,
  withDeltaUpdates ? true,
  versionCheckHook,
  nix-update-script,
}:
python3Packages.buildPythonPackage rec {
  pname = "umu-launcher-unwrapped";
@@ -34,13 +35,15 @@ python3Packages.buildPythonPackage rec {

  nativeBuildInputs = [
    cargo
    python3Packages.build
    python3Packages.installer
    python3Packages.hatchling
    python3Packages.hatch-vcs
    rustPlatform.cargoSetupHook
    scdoc
  ];
  ]
  ++ (with python3Packages; [
    build
    hatchling
    hatch-vcs
    installer
  ]);

  pythonPath =
    with python3Packages;
@@ -84,6 +87,9 @@ python3Packages.buildPythonPackage rec {
    "test_parse_args_noopts"
  ];

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  passthru.updateScript = nix-update-script { };

  meta = {