Merge pull request #331550 from nbraud/pkgs/homf
python3.homf: init at 1.0.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
# pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
hatchling,
|
||||
packaging,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homf";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "duckinator";
|
||||
repo = "homf";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PU5VjBIVSMupTBh/qvVuZSFWpBbJOylCR02lONn9/qw=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonRelaxDeps = [ "packaging" ];
|
||||
|
||||
dependencies = [ packaging ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"homf"
|
||||
"homf.api"
|
||||
"homf.api.github"
|
||||
"homf.api.pypi"
|
||||
];
|
||||
|
||||
# There are currently no checks which do not require network access, which breaks the check hook somehow?
|
||||
# nativeCheckInputs = [ pytestCheckHook ];
|
||||
# pytestFlagsArray = [ "-m 'not network'" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asset download tool for GitHub Releases, PyPi, etc.";
|
||||
mainProgram = "homf";
|
||||
homepage = "https://github.com/duckinator/homf";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nicoo ];
|
||||
};
|
||||
}
|
||||
@@ -5605,6 +5605,8 @@ self: super: with self; {
|
||||
|
||||
homepluscontrol = callPackage ../development/python-modules/homepluscontrol { };
|
||||
|
||||
homf = callPackage ../development/python-modules/homf { };
|
||||
|
||||
hoomd-blue = callPackage ../development/python-modules/hoomd-blue { };
|
||||
|
||||
hopcroftkarp = callPackage ../development/python-modules/hopcroftkarp { };
|
||||
|
||||
Reference in New Issue
Block a user