diff options
Diffstat (limited to 'pkgs/development/python-modules/timy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/timy/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/timy/default.nix b/pkgs/development/python-modules/timy/default.nix new file mode 100644 index 000000000000..3fb4096bb519 --- /dev/null +++ b/pkgs/development/python-modules/timy/default.nix @@ -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 ]; + }; +} |