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

This commit is contained in:
Weijia Wang
2026-04-13 17:33:41 +00:00
committed by GitHub
2 changed files with 7 additions and 8 deletions
@@ -1,18 +1,19 @@
{
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
];
};
}
})
-2
View File
@@ -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 {