python3Packages.beanstalkc: migrate to pyproject (#528717)
This commit is contained in:
@@ -2,26 +2,33 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "beanstalkc";
|
||||
version = "0.5.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bosondata";
|
||||
repo = "beanstalkc";
|
||||
rev = "v${version}";
|
||||
sha256 = "1dpb1yimp2pfnikmgsb2fr9x6h8riixlsx3xfqphnfvrid49vw5s";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-uvCdSIt5Owsvdn10TXuMGUHTU3Zi6VdntO6KW6MP67Y=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "beanstalkc" ];
|
||||
|
||||
meta = {
|
||||
description = "Simple beanstalkd client library for Python";
|
||||
maintainers = with lib.maintainers; [ aanderse ];
|
||||
license = lib.licenses.asl20;
|
||||
homepage = "https://github.com/earl/beanstalkc";
|
||||
homepage = "https://github.com/bosondata/beanstalkc";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user