Add package: plowshare-git20120807

This commit is contained in:
Alexander Foremny 2012-08-26 14:43:25 +02:00
parent 839c58f5b1
commit c89a0d6c4f
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchurl, bash }:
let
v = "20120807";
in stdenv.mkDerivation {
name = "plowshare-git${v}";
src = fetchurl {
url = "http://plowshare.googlecode.com/files/plowshare-snapshot-git${v}.tar.gz";
sha256 = "0clryfssaa4rjvsy760p51ppq1275lwvhm9jh3g4mi973xv4n8si";
};
phases = [ "unpackPhase" "installPhase" "postInstallPhase" ];
installPhase = ''make PREFIX="$out" install'';
postInstallPhase = ''
find "$out" -name "*.sh" -exec \
sed -i "s@#!/bin/bash@#!${bash}/bin/bash@" '{}' \;
'';
meta = {
description = ''
A command-line download/upload tool for popular file sharing websites
'';
license = stdenv.lib.licenses.gpl3;
};
}

View file

@ -1295,6 +1295,8 @@ let
plotutils = callPackage ../tools/graphics/plotutils { };
plowshare = callPackage ../tools/misc/plowshare { };
pngcrush = callPackage ../tools/graphics/pngcrush { };
pngnq = callPackage ../tools/graphics/pngnq { };