forked from mirrors/nixpkgs
rubber: wrap Python programs
This commit is contained in:
parent
aab20cdc51
commit
3856e6939f
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv, python, texinfo }:
|
||||
{ fetchurl, stdenv, python, pythonPackages, texinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rubber-1.3";
|
||||
|
@ -9,11 +9,14 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ python texinfo ];
|
||||
nativeBuildInputs = [ pythonPackages.wrapPython ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace configure --replace which "type -P"
|
||||
'';
|
||||
|
||||
postInstall = "wrapPythonPrograms";
|
||||
|
||||
meta = {
|
||||
description = "Wrapper for LaTeX and friends";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue