2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, django
|
|
|
|
, suds-jurko
|
|
|
|
, ldap
|
|
|
|
, mechanize
|
|
|
|
, beautifulsoup4
|
|
|
|
, pyxdg
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2020-04-24 23:36:52 +00:00
|
|
|
, requests
|
|
|
|
, httpretty
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "suseapi";
|
|
|
|
version = "0.24-31-g0fcbe96";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openSUSE";
|
|
|
|
repo = "python-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0hyzq0h1w8gp0zfvhqh7qsgcg1wp05a14371m6bn5a7gss93rbv4";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-07-04 02:40:35 +00:00
|
|
|
django suds-jurko ldap mechanize beautifulsoup4 pyxdg python-dateutil requests
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ httpretty ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/openSUSE/python-suseapi/";
|
|
|
|
description = "Python module to work with various SUSE services";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
}
|