mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #85627 from druimalban/mg-darwin
This commit is contained in:
commit
e9853444c7
@ -1,12 +1,14 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libbsd, ncurses, buildPackages }:
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mg";
|
||||
version = "20171014";
|
||||
version = "6.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://homepage.boetes.org/software/mg/${pname}-${version}.tar.gz";
|
||||
sha256 = "0hakfikzsml7z0hja8m8mcahrmfy2piy81bq9nccsjplyfc9clai";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ibara";
|
||||
repo = "mg";
|
||||
rev = "mg-6.7";
|
||||
sha256 = "15adwibq6xrfxbrxzk765g9250iyfn4wbcxd7kcsabiwn6apm0ai";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -17,14 +19,13 @@ stdenv.mkDerivation rec {
|
||||
install -m 555 -Dt $out/bin mg
|
||||
install -m 444 -Dt $out/share/man/man1 mg.1
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ libbsd ncurses ];
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Micro GNU/emacs, a portable version of the mg maintained by the OpenBSD team";
|
||||
homepage = "https://homepage.boetes.org/software/mg";
|
||||
homepage = "https://man.openbsd.org/OpenBSD-current/man1/mg.1";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user