uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
46
pkgs/applications/editors/sigil/default.nix
Normal file
46
pkgs/applications/editors/sigil/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, makeWrapper
|
||||
, boost, xercesc, hunspell, zlib, pcre16
|
||||
, qtbase, qttools, qtwebengine, qtxmlpatterns
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "sigil";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "Sigil";
|
||||
owner = "Sigil-Ebook";
|
||||
rev = version;
|
||||
sha256 = "sha256-LfP3qUzoHuYSpkTz1queVGTWOP9v9kbgbgvvtiMK6Eo=";
|
||||
};
|
||||
|
||||
pythonPath = with python3Packages; [ lxml ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
boost xercesc qtbase qttools qtwebengine qtxmlpatterns
|
||||
python3Packages.lxml
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
sed -i '/^QTLIB_DIR=/ d' src/Resource_Files/bash/sigil-sh_install
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/sigil" \
|
||||
--prefix PYTHONPATH : $PYTHONPATH \
|
||||
''${qtWrapperArgs[@]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free, open source, multi-platform ebook (ePub) editor";
|
||||
homepage = "https://github.com/Sigil-Ebook/Sigil/";
|
||||
license = licenses.gpl3;
|
||||
# currently unmaintained
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue