at master 816 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromBitbucket, 5 setuptools, 6 httplib2, 7}: 8 9buildPythonPackage rec { 10 pname = "rtmapi"; 11 version = "0.7.2"; 12 pyproject = true; 13 14 src = fetchFromBitbucket { 15 owner = "rtmapi"; 16 repo = "rtmapi"; 17 rev = "release-${version}"; 18 hash = "sha256-+aJ7T5bE+N9bINf6S3v48wUGXQ/ikz1Xb15xWbConT4="; 19 }; 20 21 build-system = [ 22 setuptools 23 ]; 24 25 dependencies = [ 26 httplib2 27 ]; 28 29 postPatch = '' 30 substituteInPlace setup.py \ 31 --replace-fail "use_2to3=True," "" 32 ''; 33 34 # package has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "rtmapi" ]; 38 39 meta = { 40 description = "API package for rememberthemilk.com"; 41 homepage = "https://bitbucket.org/rtmapi/rtmapi"; 42 license = lib.licenses.mit; 43 maintainers = [ lib.maintainers.jamiemagee ]; 44 }; 45}