nixpkgs/pkgs/by-name/co/connman-gtk/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

44 lines
959 B
Nix

{ lib, stdenv, fetchFromGitHub, autoconf, automake, intltool, pkg-config,
gtk3, connman, openconnect, wrapGAppsHook3 }:
stdenv.mkDerivation rec {
pname = "connman-gtk";
version = "1.1.1";
src = fetchFromGitHub {
owner = "jgke";
repo = "connman-gtk";
rev = "v${version}";
hash = "sha256-2bfoGXzy4wXRALLXEEa7vPWbsBNUhE31nn7dDkuHYCY=";
};
nativeBuildInputs = [
autoconf
automake
intltool
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
openconnect
connman
];
preConfigure = ''
# m4/intltool.m4 is an invalid symbolic link
rm m4/intltool.m4
ln -s ${intltool}/share/aclocal/intltool.m4 m4/
./autogen.sh
'';
meta = with lib; {
description = "GTK GUI for Connman";
mainProgram = "connman-gtk";
homepage = "https://github.com/jgke/connman-gtk";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}