mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 17:46:38 +01:00
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>
27 lines
578 B
Nix
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;
|
|
};
|
|
}
|