nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 775 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-vcr, 6 pytestCheckHook, 7 pyyaml, 8 requests, 9 untangle, 10}: 11 12buildPythonPackage rec { 13 pname = "pyqvrpro"; 14 version = "0.52"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "oblogic7"; 19 repo = "pyqvrpro"; 20 rev = "v${version}"; 21 hash = "sha256-lOd2AqnrkexNqT/usmJts5NW7vJtV8CRsliYgkhgRaU="; 22 }; 23 24 propagatedBuildInputs = [ 25 pyyaml 26 requests 27 untangle 28 ]; 29 30 nativeCheckInputs = [ 31 pytest-vcr 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "pyqvrpro" ]; 36 37 meta = { 38 description = "Module for interfacing with QVR Pro API"; 39 homepage = "https://github.com/oblogic7/pyqvrpro"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}