Merge pull request #328110 from NixOS/backport-290173-to-release-24.05

[Backport release-24.05] python3Packages.timy: init at 0.4.2
This commit is contained in:
Peder Bergebakken Sundt 2024-07-22 16:04:02 +02:00 committed by GitHub
commit 29679bde4a
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

@ -15177,6 +15177,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;