mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Diff: https://github.com/soxoj/socid-extractor/compare/v0.0.28...v0.1.0 Changelog: https://github.com/soxoj/socid-extractor/blob/v0.1.0/CHANGELOG.md
46 lines
1 KiB
Nix
46 lines
1 KiB
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
python-dateutil,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "socid-extractor";
|
|
version = "0.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "soxoj";
|
|
repo = "socid-extractor";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-ZYLoHFyRnSHP3Od/cMOx690KFbJoEYK3cICjzbSfLm0=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "beautifulsoup4" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
beautifulsoup4
|
|
python-dateutil
|
|
requests
|
|
];
|
|
|
|
# Test require network access
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "socid_extractor" ];
|
|
|
|
meta = {
|
|
description = "Python module to extract details from personal pages";
|
|
homepage = "https://github.com/soxoj/socid-extractor";
|
|
changelog = "https://github.com/soxoj/socid-extractor/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "socid_extractor";
|
|
};
|
|
})
|