Unverified Commit 67ebd848 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

dazel: migrate to by-name and modernize (#489544)

parents 87ef6a3b 2c39b0b8
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
{
  lib,
  buildPythonApplication,
  python3Packages,
  fetchPypi,
  setuptools,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "dazel";
  version = "0.0.43";
  pyproject = true;

  build-system = [ setuptools ];
  build-system = [
    python3Packages.setuptools
  ];

  src = fetchPypi {
    inherit pname version;
    inherit (finalAttrs) pname version;
    hash = "sha256-2enQRKg4CAPGHte02io+EfiW9AmuP3Qi41vNQeChg+8=";
  };

@@ -24,4 +25,4 @@ buildPythonApplication rec {
      malt3
    ];
  };
}
})
+0 −2
Original line number Diff line number Diff line
@@ -1495,8 +1495,6 @@ with pkgs;

  inherit (cue) writeCueValidator;

  dazel = python3Packages.callPackage ../development/tools/dazel { };

  detect-secrets = with python3Packages; toPythonApplication detect-secrets;

  deterministic-host-uname = deterministic-uname.override {