python310Packages.bashlex: 0.15 -> 0.16
This commit is contained in:
parent
73a9427360
commit
5953f6926f
@ -1,33 +1,31 @@
|
|||||||
{ enum-compat
|
{ lib
|
||||||
, lib
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nose
|
|
||||||
, python
|
, python
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bashlex";
|
pname = "bashlex";
|
||||||
version = "0.15";
|
version = "0.16";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "idank";
|
owner = "idank";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-kKVorAIKlyC9vUzLOlaZ/JrG1kBBRIvLwBmHNj9nx84=";
|
hash = "sha256-vpcru/ax872WK3XuRQWTmTD9zRdObn2Bit6kY9ZIQaI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
|
||||||
propagatedBuildInputs = [ enum-compat ];
|
|
||||||
|
|
||||||
# workaround https://github.com/idank/bashlex/issues/51
|
# workaround https://github.com/idank/bashlex/issues/51
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
${python.interpreter} -c 'import bashlex'
|
${python.interpreter} -c 'import bashlex'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [
|
||||||
${python.interpreter} -m nose --with-doctest
|
pytestCheckHook
|
||||||
'';
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "bashlex" ];
|
pythonImportsCheck = [ "bashlex" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user