python3Packages.socid-extractor: init at 0.0.22
This commit is contained in:
parent
0868d2fde1
commit
a75207e966
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/socid-extractor/default.nix
Normal file
43
pkgs/development/python-modules/socid-extractor/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -8803,6 +8803,8 @@ in {
|
|||
|
||||
socialscan = callPackage ../development/python-modules/socialscan { };
|
||||
|
||||
socid-extractor = callPackage ../development/python-modules/socid-extractor { };
|
||||
|
||||
sockjs = callPackage ../development/python-modules/sockjs { };
|
||||
|
||||
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
|
||||
|
|
Loading…
Reference in a new issue