mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
b4766c3d43
- Add SSL support by adding pyopenssl to PYTHONPATH - Update build script to use wrapPythonProgramsIn - Update the meta info
13 lines
312 B
Bash
13 lines
312 B
Bash
source $stdenv/setup
|
|
|
|
tar xvfz $src
|
|
mv SABnzbd-* $out
|
|
|
|
mkdir $out/bin
|
|
echo "$python/bin/python $out/SABnzbd.py \$*" > $out/bin/sabnzbd
|
|
chmod +x $out/bin/sabnzbd
|
|
|
|
wrapPythonProgramsIn $out/bin "$pythonPath"
|
|
wrapProgram $out/bin/.sabnzbd-wrapped --prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin"
|
|
|
|
echo $out
|