netplan: 0.103 -> 0.105
This commit is contained in:
parent
c6d38ef4df
commit
c0f4086895
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "netplan";
|
pname = "netplan";
|
||||||
version = "0.103";
|
version = "0.105";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "canonical";
|
owner = "canonical";
|
||||||
repo = "netplan";
|
repo = "netplan";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-d8Ze8S/w2nyJkATzLfizMqmr7ad2wrK1mjADClee6WE=";
|
hash = "sha256-77vUZU9JG9Dz/5n4DpcAUS77UqfIILXhZHgBogIb400=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace netplan/cli/utils.py \
|
substituteInPlace netplan/libnetplan.py \
|
||||||
--replace "/lib/netplan/generate" "$out/lib/netplan/generate" \
|
--replace "/lib/netplan/generate" "$out/lib/netplan/generate" \
|
||||||
--replace "ctypes.util.find_library('netplan')" "\"$out/lib/libnetplan.so\""
|
--replace "ctypes.util.find_library('netplan')" "\"$out/lib/libnetplan.so\""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue