python.pkgs.vine: move to separate expression

This commit is contained in:
wisut hantanong
2017-07-15 13:50:30 +07:00
committed by Jörg Thalheim
parent 2857dbd497
commit 4546623b37
2 changed files with 27 additions and 24 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi
, case, pytest, pythonOlder }:
buildPythonPackage rec {
pname = "vine";
version = "1.1.3";
name = "${pname}-${version}";
disable = pythonOlder "2.7";
src = fetchPypi {
inherit pname version;
sha256 = "0h94x9mc9bspg23lb1f73h7smdzc39ps7z7sm0q38ds9jahmvfc7";
};
buildInputs = [ case pytest ];
meta = with stdenv.lib; {
description = "Python promises";
homepage = https://github.com/celery/vine;
license = licenses.bsd3;
};
}