Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 711 B view raw
1{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }: 2 3buildPythonPackage rec { 4 pname = "rq"; 5 version = "1.7.0"; 6 disabled = isPy27; 7 8 src = fetchFromGitHub { 9 owner = "rq"; 10 repo = "rq"; 11 rev = "v${version}"; 12 sha256 = "1i7cbcrzqx52immwy8h5ps7x46sqfk9r2lgwjf01nv9mkc3ab8cj"; 13 }; 14 15 # test require a running redis rerver, which is something we can't do yet 16 doCheck = false; 17 18 propagatedBuildInputs = [ click redis ]; 19 20 meta = with lib; { 21 description = "A simple, lightweight library for creating background jobs, and processing them"; 22 homepage = "https://github.com/nvie/rq/"; 23 maintainers = with maintainers; [ mrmebelman ]; 24 license = licenses.bsd2; 25 }; 26} 27