mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
new package: cmst - qt gui for connman
This commit is contained in:
parent
99a46a0eca
commit
7f76092ffc
37
pkgs/tools/networking/cmst/default.nix
Normal file
37
pkgs/tools/networking/cmst/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, fetchgit, qt5, makeWrapper, libX11 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "cmst-2014.08.23";
|
||||||
|
rev = "refs/tags/${name}";
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://github.com/andrew-bibb/cmst.git";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "07g5i929jxlh6vm0ad8x33qmf2sryiichlv37x7fpn20h3xcsia0";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qt5 makeWrapper ];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
substituteInPlace ./cmst.pro \
|
||||||
|
--replace "/usr/bin" "$out/bin" \
|
||||||
|
--replace "/usr/share" "$out/usr/share"
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
qmake PREFIX=$out
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/cmst \
|
||||||
|
--prefix "QTCOMPOSE" ":" "${libX11}/share/X11/locale"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "QT GUI for Connman with system tray icon";
|
||||||
|
homepage = "https://github.com/andrew-bibb/cmst";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.matejc ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -776,6 +776,8 @@ let
|
|||||||
|
|
||||||
ciopfs = callPackage ../tools/filesystems/ciopfs { };
|
ciopfs = callPackage ../tools/filesystems/ciopfs { };
|
||||||
|
|
||||||
|
cmst = callPackage ../tools/networking/cmst { };
|
||||||
|
|
||||||
colord = callPackage ../tools/misc/colord { };
|
colord = callPackage ../tools/misc/colord { };
|
||||||
|
|
||||||
colord-gtk = callPackage ../tools/misc/colord-gtk { };
|
colord-gtk = callPackage ../tools/misc/colord-gtk { };
|
||||||
|
Loading…
Reference in New Issue
Block a user