forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
730 B
Nix
27 lines
730 B
Nix
{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }:
|
|
|
|
mkDerivation rec {
|
|
pname = "ghostwriter";
|
|
version = "2.0.0-rc3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wereturtle";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Ag97iE++f3nG2zlwqn0qxSL9RpF8O3XWH9NtQ5kFuWg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake pkg-config qttools ];
|
|
|
|
buildInputs = [ qtwebengine hunspell ];
|
|
|
|
meta = with lib; {
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ dotlambda erictapen ];
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|