1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/development/python-modules/suseapi/default.nix

39 lines
750 B
Nix
Raw Normal View History

2018-07-21 09:22:33 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, suds-jurko
, ldap
, mechanize
, beautifulsoup4
, pyxdg
, dateutil
, requests
, httpretty
}:
buildPythonPackage rec {
pname = "suseapi";
version = "0.24-31-g0fcbe96";
src = fetchFromGitHub {
owner = "openSUSE";
repo = "python-${pname}";
rev = version;
sha256 = "0hyzq0h1w8gp0zfvhqh7qsgcg1wp05a14371m6bn5a7gss93rbv4";
};
propagatedBuildInputs = [
django suds-jurko ldap mechanize beautifulsoup4 pyxdg dateutil requests
];
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;
};
}