mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
python311Packages.ciscoconfparse: modernize
This commit is contained in:
parent
e42259283b
commit
f4f419f03f
@ -15,13 +15,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ciscoconfparse";
|
||||
version = "1.7.24";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpenning";
|
||||
repo = pname;
|
||||
repo = "ciscoconfparse";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vL/CQdYcOP356EyRToviWylP1EBtxmeov6qkhfQNZ2Y=";
|
||||
};
|
||||
@ -35,16 +35,14 @@ buildPythonPackage rec {
|
||||
sed -i '/requires-python/d' pyproject.toml
|
||||
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"poetry>=1.3.2",' ""
|
||||
--replace-fail '"poetry>=1.3.2",' ""
|
||||
|
||||
patchShebangs tests
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
passlib
|
||||
deprecat
|
||||
dnspython
|
||||
|
Loading…
Reference in New Issue
Block a user