python3Packages.timy: init at 0.4.2 (#290173)

This commit is contained in:
Finn Landweber 2024-06-11 00:37:57 +02:00 committed by GitHub
parent 5df2b48ba1
commit 8342487caa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "timy";
version = "0.4.2";
src = fetchFromGitHub {
owner = "ramonsaraiva";
repo = "timy";
rev = "36a97e55f058de002a0da4f2a8e18c00d944821c";
hash = "sha256-4Opaph8Q1tQH+C/Epur8AA26RN4vO944DjCg0zDJqxM=";
};
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Minimalist measurement of python code time";
homepage = "https://github.com/ramonsaraiva/timy";
license = licenses.mit;
maintainers = with maintainers; [ flandweber ];
};
}

View File

@ -15225,6 +15225,8 @@ self: super: with self; {
timm = callPackage ../development/python-modules/timm { };
timy = callPackage ../development/python-modules/timy { };
tiny-cuda-nn = toPythonModule (pkgs.tiny-cuda-nn.override {
cudaPackages = self.torch.cudaPackages;
python3Packages = self;