mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 06:31:15 +00:00
python3Packages.afsapi: 0.3.1 -> 1.0.0
https://github.com/wlcrs/python-afsapi/releases/tag/1.0.0
This commit is contained in:
@@ -3,29 +3,33 @@
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lxml,
|
||||
hatchling,
|
||||
hatch-vcs,
|
||||
defusedxml,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "afsapi";
|
||||
version = "0.3.1";
|
||||
format = "setuptools";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wlcrs";
|
||||
repo = "python-afsapi";
|
||||
tag = version;
|
||||
hash = "sha256-WkkRsXRJ4i3lUn3X94YX7ZqfaKE2GgrBycbflnnlC74=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-5gvA3rFyAlTx7oKrUq9q0lBuwatzMPvRhjy7GYnwdik=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
lxml
|
||||
defusedxml
|
||||
];
|
||||
|
||||
doCheck = false; # Failed: async def functions are not natively supported.
|
||||
@@ -40,10 +44,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "afsapi" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/wlcrs/python-afsapi/releases/tag/${finalAttrs.version}";
|
||||
description = "Python implementation of the Frontier Silicon API";
|
||||
homepage = "https://github.com/wlcrs/python-afsapi";
|
||||
changelog = "https://github.com/wlcrs/python-afsapi/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user