mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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:
commit
29679bde4a
28
pkgs/development/python-modules/timy/default.nix
Normal file
28
pkgs/development/python-modules/timy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user