python310Packages.tailscale: add changelog to meta
This commit is contained in:
parent
b3a1a8050f
commit
64a10f0b9b
|
@ -21,10 +21,17 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "frenck";
|
owner = "frenck";
|
||||||
repo = "python-tailscale";
|
repo = "python-tailscale";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-gGDsVGsCBZi/pxD0cyH3+xrvHVBC+wJCcl/NGqsTqiE=";
|
hash = "sha256-gGDsVGsCBZi/pxD0cyH3+xrvHVBC+wJCcl/NGqsTqiE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace "0.0.0" "${version}" \
|
||||||
|
--replace "--cov" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
@ -41,13 +48,6 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace "0.0.0" "${version}" \
|
|
||||||
--replace "--cov" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"tailscale"
|
"tailscale"
|
||||||
];
|
];
|
||||||
|
@ -55,6 +55,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python client for the Tailscale API";
|
description = "Python client for the Tailscale API";
|
||||||
homepage = "https://github.com/frenck/python-tailscale";
|
homepage = "https://github.com/frenck/python-tailscale";
|
||||||
|
changelog = "https://github.com/frenck/python-tailscale/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue