python3Packages.socialscan: use finalAttrs
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "socialscan";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "iojw";
|
||||
repo = "socialscan";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
|
||||
};
|
||||
|
||||
@@ -37,8 +37,8 @@ buildPythonPackage rec {
|
||||
description = "Python library and CLI for accurately querying username and email usage on online platforms";
|
||||
mainProgram = "socialscan";
|
||||
homepage = "https://github.com/iojw/socialscan";
|
||||
changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}";
|
||||
changelog = "https://github.com/iojw/socialscan/releases/tag/v${finalAttrs.version}";
|
||||
license = with lib.licenses; [ mpl20 ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user