Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "timy"; 9 version = "0.4.2"; 10 11 src = fetchFromGitHub { 12 owner = "ramonsaraiva"; 13 repo = "timy"; 14 rev = "36a97e55f058de002a0da4f2a8e18c00d944821c"; 15 hash = "sha256-4Opaph8Q1tQH+C/Epur8AA26RN4vO944DjCg0zDJqxM="; 16 }; 17 18 nativeCheckInputs = [ 19 pytestCheckHook 20 ]; 21 22 meta = with lib; { 23 description = "Minimalist measurement of python code time"; 24 homepage = "https://github.com/ramonsaraiva/timy"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ flandweber ]; 27 }; 28}