depot/third_party/nixpkgs/pkgs/development/python-modules/socid-extractor/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

43 lines
841 B
Nix

{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, python-dateutil
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "socid-extractor";
version = "0.0.22";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "soxoj";
repo = pname;
rev = "v${version}";
sha256 = "kHF9CBlUKrD/DRVwJveenpFMr7pIrxEBNkFHHLa46KQ=";
};
propagatedBuildInputs = [
beautifulsoup4
python-dateutil
requests
];
# Test require network access
doCheck = false;
pythonImportsCheck = [
"socid_extractor"
];
meta = with lib; {
description = "Python module to extract details from personal pages";
homepage = "https://github.com/soxoj/socid-extractor";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}