Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / lockfile / default.nix
blob295c8eaf9790f50a8f8980a58184703c7a44f64f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pbr
5 , nose
6 }:
8 buildPythonPackage rec {
9   pname = "lockfile";
10   version = "0.12.2";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799";
15   };
17   buildInputs = [ pbr ];
18   checkInputs = [ nose ];
20   checkPhase = ''
21     nosetests
22   '';
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   };