mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
heme: new package
A portable and fast console hex editor for unix operating systems.
This commit is contained in:
parent
4976bcd218
commit
15b9fe1fab
27
pkgs/applications/editors/heme/default.nix
Normal file
27
pkgs/applications/editors/heme/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, lib, fetchurl, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "heme-${version}";
|
||||
version = "0.4.2";
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/heme/heme/heme-${version}/heme-${version}.tar.gz";
|
||||
sha256 = "0wsrnj5mrlazgqs4252k30aw8m86qw0z9dmrsli9zdxl7j4cg99v";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/usr/local" "$out" \
|
||||
--replace "CFLAGS = " "CFLAGS = -I${ncurses}/include " \
|
||||
--replace "LDFLAGS = " "LDFLAGS = -L${ncurses}/lib "
|
||||
'';
|
||||
preBuild = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/man/man1
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Portable and fast console hex editor for unix operating systems";
|
||||
homepage = "http://heme.sourceforge.net/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
@ -11341,6 +11341,8 @@ let
|
||||
|
||||
helmholtz = callPackage ../applications/audio/pd-plugins/helmholtz { };
|
||||
|
||||
heme = callPackage ../applications/editors/heme { };
|
||||
|
||||
herbstluftwm = callPackage ../applications/window-managers/herbstluftwm { };
|
||||
|
||||
hexchat = callPackage ../applications/networking/irc/hexchat { };
|
||||
|
Loading…
Reference in New Issue
Block a user