mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
python3Packages.telegraph: use finalAttrs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "telegraph";
|
||||
version = "2.2.0";
|
||||
format = "setuptools";
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
repo = "telegraph";
|
||||
owner = "python273";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-xARX8lSOftNVYY4InR5vU4OiguCJJJZv/W76G9eLgNY=";
|
||||
};
|
||||
|
||||
@@ -36,8 +36,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Telegraph API wrapper";
|
||||
homepage = "https://github.com/python273/telegraph";
|
||||
changelog = "https://github.com/python273/telegraph/releases/tag/v${version}";
|
||||
changelog = "https://github.com/python273/telegraph/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ gp2112 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user