2018-10-11 02:21:38 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lockfile";
|
|
|
|
version = "0.12.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pbr ];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/pylockfile";
|
2018-10-11 02:21:38 +01:00
|
|
|
description = "Platform-independent advisory file locking capability for Python applications";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|