python3Packages.socialscan: migrate to pyproject (#538796)

This commit is contained in:
Fabian Affolter
2026-07-06 14:35:40 +00:00
committed by GitHub
@@ -4,22 +4,25 @@
buildPythonPackage,
fetchFromGitHub,
colorama,
setuptools,
tqdm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "socialscan";
version = "2.0.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "iojw";
repo = "socialscan";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
aiohttp
colorama
tqdm
@@ -34,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 ];
};
}
})