nixpkgs/pkgs/development/python-modules/smdebug-rulesconfig/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

27 lines
578 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "smdebug-rulesconfig";
version = "1.0.1";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "smdebug_rulesconfig";
sha256 = "1mpwjfvpmryqqwlbyf500584jclgm3vnxa740yyfzkvb5vmyc6bs";
};
doCheck = false;
pythonImportsCheck = [ "smdebug_rulesconfig" ];
meta = {
description = "These builtin rules are available in Amazon SageMaker";
homepage = "https://github.com/awslabs/sagemaker-debugger-rulesconfig";
license = lib.licenses.asl20;
};
}