mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
26 lines
693 B
Nix
26 lines
693 B
Nix
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
|
|
|
|
mkDerivation rec {
|
|
pname = "ghostwriter";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wereturtle";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "13yn82m1l2pq93wbl569a2lzpc3sn8a8g30hsgdch1l9xlmhwran";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake pkgconfig qttools ];
|
|
|
|
buildInputs = [ qtwebengine hunspell ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|