2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, connman, dmenu }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "connman_dmenu";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2015-09-29";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "march-linux";
|
|
|
|
repo = "connman_dmenu";
|
|
|
|
rev = "cc89fec40b574b0d234afeb70ea3c94626ca3f5c";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-05MjFg+8rliYIAdOOHmP7DQhOTeYn5ZoCpZEdQeKLhg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ connman dmenu ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
# remove root requirement, see: https://github.com/march-linux/connman_dmenu/issues/3
|
|
|
|
postPatch = ''
|
|
|
|
sed -i '89,92d' connman_dmenu
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp connman_dmenu $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Dmenu wrapper for connmann";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "connman_dmenu";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://github.com/march-linux/connman_dmenu";
|
|
|
|
license = lib.licenses.free;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = lib.platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|