3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.suseapi: move expression

This commit is contained in:
Frederik Rietdijk 2018-07-21 10:22:33 +02:00
parent c6eaf088a9
commit 9c4e073e01
2 changed files with 40 additions and 26 deletions

View file

@ -0,0 +1,39 @@
{ 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;
};
}

View file

@ -17689,32 +17689,7 @@ EOF
yarl = callPackage ../development/python-modules/yarl { }; yarl = callPackage ../development/python-modules/yarl { };
suseapi = buildPythonPackage rec { suseapi = callPackage ../development/python-modules/suseapi { };
name = "${pname}-${version}";
pname = "suseapi";
version = "0.24-31-g0fcbe96";
src = pkgs.fetchFromGitHub {
owner = "openSUSE";
repo = "python-${pname}";
rev = version;
sha256 = "0hyzq0h1w8gp0zfvhqh7qsgcg1wp05a14371m6bn5a7gss93rbv4";
};
propagatedBuildInputs = with self; [
django suds-jurko ldap mechanize beautifulsoup4 pyxdg dateutil requests
];
buildInputs = with self; [ httpretty ];
doCheck = false;
meta = {
homepage = "https://github.com/openSUSE/python-suseapi/";
description = "Python module to work with various SUSE services";
license = licenses.gpl3Plus;
};
};
typed-ast = callPackage ../development/python-modules/typed-ast { }; typed-ast = callPackage ../development/python-modules/typed-ast { };