3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/edit/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08:00

41 lines
795 B
Nix

{ lib, stdenv, fetchgit, unzip, pkg-config, ncurses, libX11, libXft, cwebbin }:
stdenv.mkDerivation {
pname = "edit-nightly";
version = "20160425";
src = fetchgit {
url = "git://c9x.me/ed.git";
rev = "323d49b68c5e804ed3b8cada0e2274f1589b3484";
sha256 = "0wv8i3ii7cd9bqhjpahwp2g5fcmyk365nc7ncmvl79cxbz3f7y8v";
};
buildInputs = [
unzip
pkg-config
ncurses
libX11
libXft
cwebbin
];
buildPhase = ''
ctangle *.w
make
'';
installPhase = ''
mkdir -p $out/bin/
cp obj/edit $out/bin/edit
'';
meta = with lib; {
description = "A relaxing mix of Vi and ACME";
homepage = "http://c9x.me/edit";
license = licenses.publicDomain;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}