Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, pytestCheckHook 6, responses 7}: 8 9buildPythonPackage rec { 10 pname = "testrail-api"; 11 version = "1.12.0"; 12 13 src = fetchFromGitHub { 14 owner = "tolstislon"; 15 repo = "testrail-api"; 16 rev = version; 17 sha256 = "sha256-VuAW5Dl3pkA6mtn/mbzxTFoavO5jPoqFSFVlrxc7KRk="; 18 }; 19 20 nativeCheckInputs = [ 21 pytestCheckHook 22 responses 23 ]; 24 25 propagatedBuildInputs = [ 26 requests 27 ]; 28 29 meta = with lib; { 30 description = "A Python wrapper of the TestRail API"; 31 homepage = "https://github.com/tolstislon/testrail-api"; 32 changelog = "https://github.com/tolstislon/ytestrail-api/releases/tag/${version}"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ aanderse ]; 35 }; 36}