mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 08:38:18 +03:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
590 B
Nix
31 lines
590 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pbr
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lockfile";
|
|
version = "0.12.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799";
|
|
};
|
|
|
|
buildInputs = [ pbr ];
|
|
nativeCheckInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://launchpad.net/pylockfile";
|
|
description = "Platform-independent advisory file locking capability for Python applications";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|