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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "rubber-1.3";
|
name = "rubber-1.3";
|
||||||
|
@ -9,11 +9,14 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python texinfo ];
|
buildInputs = [ python texinfo ];
|
||||||
|
nativeBuildInputs = [ pythonPackages.wrapPython ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace configure --replace which "type -P"
|
substituteInPlace configure --replace which "type -P"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = "wrapPythonPrograms";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Wrapper for LaTeX and friends";
|
description = "Wrapper for LaTeX and friends";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue