Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 819 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, httpsig 5, pytest-asyncio 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "pysmartapp"; 11 version = "0.3.3"; 12 13 src = fetchFromGitHub { 14 owner = "andrewsayre"; 15 repo = pname; 16 rev = version; 17 sha256 = "03wk44siqxl15pa46x5vkg4q0mnga34ir7qn897576z2ivbx7awh"; 18 }; 19 20 propagatedBuildInputs = [ 21 httpsig 22 ]; 23 24 checkInputs = [ 25 pytest-asyncio 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "pysmartapp" ]; 30 31 meta = with lib; { 32 description = "Python implementation to work with SmartApp lifecycle events"; 33 homepage = "https://github.com/andrewsayre/pysmartapp"; 34 changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}