python312Packages.sunweg: refactor
This commit is contained in:
parent
f82d0d1bc9
commit
d8c3e1faf1
1 changed files with 7 additions and 2 deletions
|
@ -4,22 +4,27 @@
|
|||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sunweg";
|
||||
version = "2.1.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rokam";
|
||||
repo = pname;
|
||||
repo = "sunweg";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-fgNtxCBIuNulCfuDaEsM7kL1WpwNE9O+JQ1DMZrz5jA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue