1{ lib 2, buildPythonPackage 3, fetchPypi 4, pbr 5, nose 6}: 7 8buildPythonPackage rec { 9 pname = "lockfile"; 10 version = "0.12.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"; 15 }; 16 17 buildInputs = [ pbr ]; 18 checkInputs = [ nose ]; 19 20 checkPhase = '' 21 nosetests 22 ''; 23 24 meta = with lib; { 25 homepage = "https://launchpad.net/pylockfile"; 26 description = "Platform-independent advisory file locking capability for Python applications"; 27 license = licenses.asl20; 28 }; 29}