2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "whichcraft";
|
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc";
|
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL="en_US.utf-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/pydanny/whichcraft";
|
|
|
|
description = "Cross-platform cross-python shutil.which functionality";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|