darwin purity: mercurial
This commit is contained in:
parent
c0e1f2e34f
commit
a8c98bc013
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich
|
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich
|
||||||
, guiSupport ? false, tk ? null, curses, cacert }:
|
, guiSupport ? false, tk ? null, curses, cacert
|
||||||
|
|
||||||
|
, ApplicationServices }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.3.3";
|
version = "3.3.3";
|
||||||
@ -17,7 +19,8 @@ stdenv.mkDerivation {
|
|||||||
inherit python; # pass it so that the same version can be used in hg2git
|
inherit python; # pass it so that the same version can be used in hg2git
|
||||||
pythonPackages = [ curses ];
|
pythonPackages = [ curses ];
|
||||||
|
|
||||||
buildInputs = [ python makeWrapper docutils unzip ];
|
buildInputs = [ python makeWrapper docutils unzip ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
|
@ -11776,6 +11776,7 @@ let
|
|||||||
|
|
||||||
mercurial = callPackage ../applications/version-management/mercurial {
|
mercurial = callPackage ../applications/version-management/mercurial {
|
||||||
inherit (pythonPackages) curses docutils hg-git dulwich;
|
inherit (pythonPackages) curses docutils hg-git dulwich;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||||
guiSupport = false; # use mercurialFull to get hgk GUI
|
guiSupport = false; # use mercurialFull to get hgk GUI
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user