2016-02-28 03:51:07 +00:00
|
|
|
{ stdenv, fetchFromGitHub, connman, dmenu }:
|
2017-08-11 10:40:08 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "connman_dmenu";
|
2016-02-28 03:51:07 +00:00
|
|
|
version = "git-29-9-2015";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "march-linux";
|
|
|
|
repo = "connman_dmenu";
|
|
|
|
rev = "cc89fec40b574b0d234afeb70ea3c94626ca3f5c";
|
|
|
|
sha256 = "061fi83pai4n19l9d7wq6wwj2d7cixwkhkh742c5ibmw1wb274yk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ connman dmenu ];
|
|
|
|
|
2017-08-11 10:40:08 +01:00
|
|
|
dontBuild = true;
|
2016-02-28 03:51:07 +00:00
|
|
|
|
|
|
|
# remove root requirement, see: https://github.com/march-linux/connman_dmenu/issues/3
|
2017-08-11 10:40:08 +01:00
|
|
|
postPatch = ''
|
2016-02-28 03:51:07 +00:00
|
|
|
sed -i '89,92d' connman_dmenu
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp connman_dmenu $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A dmenu wrapper for connmann";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/march-linux/connman_dmenu";
|
2016-02-28 03:51:07 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|