Merge pull request #183669 from r-ryantm/auto-update/netplan

This commit is contained in:
Maciej Krüger 2022-08-28 15:51:59 +02:00 committed by GitHub
commit 0b08981774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "netplan";
version = "0.103";
version = "0.105";
src = fetchFromGitHub {
owner = "canonical";
repo = "netplan";
rev = version;
hash = "sha256-d8Ze8S/w2nyJkATzLfizMqmr7ad2wrK1mjADClee6WE=";
hash = "sha256-77vUZU9JG9Dz/5n4DpcAUS77UqfIILXhZHgBogIb400=";
};
nativeBuildInputs = [
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace netplan/cli/utils.py \
substituteInPlace netplan/libnetplan.py \
--replace "/lib/netplan/generate" "$out/lib/netplan/generate" \
--replace "ctypes.util.find_library('netplan')" "\"$out/lib/libnetplan.so\""