mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 00:22:44 +03:00
python312Packages.launchpadlib: modernize
This commit is contained in:
parent
7106b2bf4a
commit
33019e7ea9
@ -2,47 +2,43 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy3k,
|
||||
httplib2,
|
||||
keyring_24,
|
||||
lazr-restfulclient,
|
||||
lazr-uri,
|
||||
setuptools,
|
||||
six,
|
||||
testresources,
|
||||
wadllib,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "launchpadlib";
|
||||
version = "2.0.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-XUqQlekXc6dWXUwVlZSuMOynkv1fm4ne1FnXEUhKlss=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
httplib2
|
||||
keyring_24
|
||||
lazr-restfulclient
|
||||
lazr-uri
|
||||
setuptools
|
||||
six
|
||||
testresources
|
||||
wadllib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
testresources
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
doCheck = isPy3k;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"launchpadlib"
|
||||
"launchpadlib.apps"
|
||||
|
Loading…
Reference in New Issue
Block a user