-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into HEAD
- Loading branch information
Showing
11 changed files
with
179 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 40 additions & 36 deletions
76
pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,53 @@ | ||
{stdenv, fetchurl, pythonPackages}: | ||
{stdenv, fetchurl, python27Packages, file }: | ||
|
||
let | ||
inherit (pythonPackages) python; | ||
in stdenv.mkDerivation rec { | ||
url = "ftp://ftp.goffi.org/sat/sat-0.2.0.tar.bz2"; | ||
name = stdenv.lib.nameFromURL url ".tar"; | ||
src = fetchurl { | ||
inherit url; | ||
sha256 = "14qqgsgqns1xcp97nd3jcxrq54z1x5a6kimqxy029hh7ys813mf1"; | ||
}; | ||
|
||
buildInputs = with pythonPackages; | ||
inherit (python27Packages) python; | ||
in | ||
stdenv.mkDerivation rec { | ||
name = "salut-a-toi"; | ||
version = "0.6.1"; | ||
pname = "sat-${version}"; | ||
|
||
src = fetchurl { | ||
url = "ftp://ftp.goffi.org/sat/${pname}.tar.bz2"; | ||
sha256 = "0kn9403n8fpzl0hsb9kkzicsmzq2fjl627l31yykbqzc4nsr780d"; | ||
}; | ||
|
||
buildInputs = with python27Packages; | ||
[ | ||
python twisted urwid beautifulsoup wxPython pygobject2 | ||
wokkel dbus-python pyfeed wrapPython setuptools | ||
wokkel dbus-python pyfeed wrapPython setuptools file | ||
pycrypto pyxdg | ||
]; | ||
|
||
configurePhase = '' | ||
sed -i "/use_setuptools/d" setup.py | ||
sed -e "[email protected]@'$out'@g" -i setup.py | ||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${pythonPackages.twisted}/bin\"" -i src/sat.sh | ||
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/${python.sitePackages}"" -i src/sat.sh | ||
configurePhase = '' | ||
sed -i "/use_setuptools/d" setup.py | ||
sed -e "[email protected]@'$out'@g" -i setup.py | ||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${python27Packages.twisted}/bin\"" -i src/sat.sh | ||
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/${python.sitePackages}"" -i src/sat.sh | ||
echo 'import wokkel.muc' | python | ||
''; | ||
echo 'import wokkel.muc' | python | ||
''; | ||
|
||
buildPhase = '' | ||
${python.interpreter} setup.py build | ||
''; | ||
buildPhase = '' | ||
${python.interpreter} setup.py build | ||
''; | ||
|
||
installPhase = '' | ||
${python.interpreter} setup.py install --prefix="$out" | ||
installPhase = '' | ||
${python.interpreter} setup.py install --prefix="$out" | ||
for i in "$out/bin"/*; do | ||
for i in "$out/bin"/*; do | ||
head -n 1 "$i" | grep -E '[/ ]python( |$)' && { | ||
wrapProgram "$i" --prefix PYTHONPATH : "$PYTHONPATH:$out/${python.sitePackages}" | ||
} || true | ||
done | ||
''; | ||
meta = { | ||
homepage = "http://sat.goffi.org/"; | ||
description = "A multi-frontend XMPP client"; | ||
platforms = stdenv.lib.platforms.linux; | ||
maintainers = with stdenv.lib.maintainers; [raskin]; | ||
license = stdenv.lib.licenses.gpl3Plus; | ||
}; | ||
} | ||
done | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = http://sat.goffi.org/; | ||
description = "A multi-frontend XMPP client"; | ||
platforms = platforms.linux; | ||
maintainers = [ maintainers.raskin ]; | ||
license = licenses.gpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
pkgs/development/ocaml-modules/ppx_deriving_yojson/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, opam, topkg, cppo | ||
, ppx_import, ppx_deriving, yojson, ounit | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "ocaml${ocaml.version}-ppx_deriving_yojson-${version}"; | ||
version = "3.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "whitequark"; | ||
repo = "ppx_deriving_yojson"; | ||
rev = "v${version}"; | ||
sha256 = "1id1a29qq0ax9qp98b5hv6p2q2r0vp4fbkkwzm1bxdhnasw97msk"; | ||
}; | ||
|
||
buildInputs = [ ocaml findlib ocamlbuild opam cppo ounit ppx_import ]; | ||
|
||
propagatedBuildInputs = [ ppx_deriving yojson ]; | ||
|
||
inherit (topkg) installPhase; | ||
|
||
doCheck = true; | ||
checkTarget = "test"; | ||
|
||
meta = { | ||
description = "A Yojson codec generator for OCaml >= 4.02."; | ||
inherit (src.meta) homepage; | ||
license = stdenv.lib.licenses.mit; | ||
maintainers = [ stdenv.lib.maintainers.vbgl ]; | ||
inherit (ocaml.meta) platforms; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ stdenv, fetchFromBitbucket, qt5, flex, bison, docutils }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "xxdiff-4.0.1.20170101"; | ||
|
||
src = fetchFromBitbucket { | ||
owner = "blais"; | ||
repo = "xxdiff"; | ||
rev = "1cf6b23ad30a845daba28a3409c65f93aec7f5e8"; | ||
sha256 = "0rq7grpndj85i7qzlj93jpzpfzk7bwsi55033fc63hb55rbdzz6z"; | ||
}; | ||
|
||
nativeBuildInputs = [ flex bison qt5.qtbase docutils ]; | ||
|
||
buildInputs = [ qt5.qtbase ]; | ||
|
||
preConfigure = '' | ||
ln -s ${qt5.qtbase.dev}/mkspecs/* ../__nix_qt*__/mkspecs | ||
ln -s ${qt5.qtbase.dev}/bin/* ../__nix_qt*__/bin || true | ||
''; | ||
|
||
NIX_CFLAGS_COMPILE="-I${qt5.qtbase.dev}/include/QtCore -I${qt5.qtbase.dev}/include/QtGui -I${qt5.qtbase.dev}/include/QtWidgets"; | ||
|
||
configurePhase = "${preConfigure} cd src; make -f Makefile.bootstrap"; | ||
|
||
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin"; | ||
|
||
|
||
meta = with stdenv.lib; { | ||
homepage = http://furius.ca/xxdiff/; | ||
description = "Graphical file and directories comparator and merge tool"; | ||
license = licenses.gpl2; | ||
platforms = platforms.linux; | ||
maintainers = with maintainers; [ pSub raskin ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{stdenv, fetchFromGitHub, libX11}: | ||
stdenv.mkDerivation rec { | ||
name = "${pname}-${version}"; | ||
pname = "wayv"; | ||
version = "0.3"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "mikemb"; | ||
repo = pname; | ||
rev = "b716877603250f690f08b593bf30fd5e8a93a872"; | ||
sha256 = "046dvaq6na1fyxz5nrjg13aaz6ific9wbygck0dknqqfmmjrsv3b"; | ||
}; | ||
|
||
buildInputs = [ libX11 ]; | ||
|
||
postInstall = '' | ||
make -C doc install | ||
mkdir -p "$out"/share/doc/wayv | ||
cp [A-Z][A-Z]* "$out"/share/doc/wayv | ||
cp doc/[A-Z][A-Z]* "$out"/share/doc/wayv | ||
cp doc/*.txt "$out"/share/doc/wayv | ||
cp doc/*.jpg "$out"/share/doc/wayv | ||
''; | ||
|
||
meta = { | ||
inherit version; | ||
description = "A gesture control for X11"; | ||
license = stdenv.lib.licenses.gpl2Plus ; | ||
maintainers = [stdenv.lib.maintainers.raskin]; | ||
platforms = stdenv.lib.platforms.linux; | ||
homepage = "https://github.com/mikemb/wayV"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{stdenv, fetchFromBitbucket, libX11}: | ||
stdenv.mkDerivation rec { | ||
name = "${pname}-${version}"; | ||
pname = "xannotate"; | ||
version = "20150301"; | ||
|
||
src = fetchFromBitbucket { | ||
owner = "blais"; | ||
repo = pname; | ||
rev = "e5591c2ec67ca39988f1fb2966e94f0f623f9aa7"; | ||
sha256 = "02jy19if0rnbxvs6b0l5mi9ifvdj2qmv0pv278v9kfs0kvir68ik"; | ||
}; | ||
|
||
buildInputs = [ libX11 ]; | ||
|
||
meta = { | ||
inherit version; | ||
description = "A tool to scribble over X windows"; | ||
license = stdenv.lib.licenses.gpl2Plus ; | ||
maintainers = [stdenv.lib.maintainers.raskin]; | ||
platforms = stdenv.lib.platforms.linux; | ||
homepage = "https://bitbucket.org/blais/xannotate"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters