Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 curl, 5 python3Packages, 6 glibcLocales, 7}: 8 9python3Packages.buildPythonApplication rec { 10 pname = "httpstat"; 11 version = "1.3.1"; 12 format = "pyproject"; 13 src = fetchFromGitHub { 14 owner = "reorx"; 15 repo = "httpstat"; 16 rev = version; 17 sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 doCheck = false; # No tests 23 buildInputs = [ glibcLocales ]; 24 runtimeDeps = [ curl ]; 25 26 LC_ALL = "en_US.UTF-8"; 27 28 meta = { 29 description = "Curl statistics made simple"; 30 mainProgram = "httpstat"; 31 homepage = "https://github.com/reorx/httpstat"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ nequissimus ]; 34 }; 35}