mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
xfig: cosmetic rewriting
This commit is contained in:
parent
b673417493
commit
daecbd7b06
@ -1,5 +1,15 @@
|
||||
{ lib, stdenv, fetchurl, xlibsWrapper, makeWrapper, libXpm
|
||||
, libXmu, libXi, libXp, Xaw3d, libXaw, fig2dev
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, xlibsWrapper
|
||||
, makeWrapper
|
||||
, libXpm
|
||||
, libXmu
|
||||
, libXi
|
||||
, libXp
|
||||
, Xaw3d
|
||||
, libXaw
|
||||
, fig2dev
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -11,6 +21,18 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1czamqp0xn0j6qjnasa3fjnrzi072v6qknylr6jrs4gwsfw4ybyw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
xlibsWrapper
|
||||
libXpm
|
||||
libXmu
|
||||
libXi
|
||||
libXp
|
||||
Xaw3d
|
||||
libXaw
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's:"fig2dev":"${fig2dev}/bin/fig2dev":' src/main.c
|
||||
'';
|
||||
@ -25,10 +47,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [ xlibsWrapper libXpm libXmu libXi libXp Xaw3d libXaw ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interactive drawing tool for X11";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user