mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
texworks: init at 0.6.2
This commit is contained in:
parent
53233c19c9
commit
50d52ac8a8
32
pkgs/applications/editors/texworks/default.nix
Normal file
32
pkgs/applications/editors/texworks/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
|
||||
, qt5, libsForQt5, hunspell
|
||||
, withLua ? true, lua
|
||||
, withPython ? true, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "texworks-${version}";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TeXworks";
|
||||
repo = "texworks";
|
||||
rev = "release-${version}";
|
||||
sha256 = "0kj4pq5h4vs2wwg6cazxjlv83x6cwdfsa76winfkdddaqzpdklsj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ qt5.qtscript libsForQt5.poppler hunspell lua python ]
|
||||
++ lib.optional withLua lua
|
||||
++ lib.optional withPython python;
|
||||
|
||||
cmakeFlags = lib.optional withLua "-DWITH_LUA=ON"
|
||||
++ lib.optional withPython "-DWITH_PYTHON=ON";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple TeX front-end program inspired by TeXShop";
|
||||
homepage = http://www.tug.org/texworks/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
|
@ -4552,6 +4552,8 @@ with pkgs;
|
|||
|
||||
textadept = callPackage ../applications/editors/textadept { };
|
||||
|
||||
texworks = callPackage ../applications/editors/texworks { };
|
||||
|
||||
thc-hydra = callPackage ../tools/security/thc-hydra { };
|
||||
|
||||
thefuck = callPackage ../tools/misc/thefuck { };
|
||||
|
|
Loading…
Reference in a new issue