2018-04-06 12:34:03 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "whichcraft";
|
2018-04-06 12:34:36 +01:00
|
|
|
version = "0.4.1";
|
2018-04-06 12:34:03 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-06 12:34:36 +01:00
|
|
|
sha256 = "9e0d51c9387cb7e9f28b7edb549e6a03da758f7784f991eb4397d7f7808c57fd";
|
2018-04-06 12:34:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2018-04-06 12:36:48 +01:00
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2018-04-06 12:34:03 +01:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/pydanny/whichcraft;
|
|
|
|
description = "Cross-platform cross-python shutil.which functionality";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|