python3Packages.boa-api: migrate to pyproject (#528829)
This commit is contained in:
@@ -2,20 +2,25 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "boa-api";
|
||||
version = "0.1.14";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boalang";
|
||||
repo = "api-python";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -24,8 +29,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/boalang/api-python";
|
||||
description = "Python client API for communicating with Boa's (https://boa.cs.iastate.edu/) XML-RPC based services";
|
||||
changelog = "https://github.com/boalang/api-python/blob/${src.rev}/Changes.txt";
|
||||
changelog = "https://github.com/boalang/api-python/blob/${finalAttrs.src.rev}/Changes.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user