Merge pull request #208910 from figsoda/iwgtk

iwgtk: 0.8 -> 0.9
This commit is contained in:
figsoda 2023-01-04 18:27:21 -05:00 committed by GitHub
commit 62f7bf5a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,13 +12,13 @@
stdenv.mkDerivation rec {
pname = "iwgtk";
version = "0.8";
version = "0.9";
src = fetchFromGitHub {
owner = "j-lentz";
repo = pname;
rev = "v${version}";
sha256 = "sha256-89rzDxalZtQkwAKS6hKPVY87kOWPySwDeZrPs2rGs/k=";
sha256 = "sha256-/Nxti4PfYVLnIiBgtAuR3KGI8dULszuSdTp+2DzBfbs=";
};
# patch systemd service to pass necessary environments and use absolute paths
@ -29,9 +29,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk4 qrencode ];
postInstall = ''
mv $out/share/lib/systemd $out/share
rmdir $out/share/lib
substituteInPlace $out/share/systemd/user/iwgtk.service --subst-var out
substituteInPlace $out/lib/systemd/user/iwgtk.service --subst-var out
'';
meta = with lib; {