pythonPackages.lockfile: init at 0.12.2

This commit is contained in:
Chris Ostrouchov 2018-10-10 21:21:38 -04:00 committed by Frederik Rietdijk
parent aaa1af9bde
commit 0f8ccbf259
2 changed files with 30 additions and 23 deletions

View File

@ -0,0 +1,29 @@
{ 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; {
homepage = https://launchpad.net/pylockfile;
description = "Platform-independent advisory file locking capability for Python applications";
license = licenses.asl20;
};
}

View File

@ -6612,29 +6612,7 @@ in {
llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_6; }; llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_6; };
lockfile = buildPythonPackage rec { lockfile = callPackage ../development/python-modules/lockfile { };
pname = "lockfile";
version = "0.12.2";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799";
};
buildInputs = with self; [
pbr nose
];
checkPhase = ''
nosetests
'';
meta = {
homepage = https://launchpad.net/pylockfile;
description = "Platform-independent advisory file locking capability for Python applications";
license = licenses.asl20;
};
};
logilab_common = callPackage ../development/python-modules/logilab/common.nix {}; logilab_common = callPackage ../development/python-modules/logilab/common.nix {};