mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Add package: plowshare-git20120807
This commit is contained in:
parent
839c58f5b1
commit
c89a0d6c4f
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/misc/plowshare/default.nix
Normal file
31
pkgs/tools/misc/plowshare/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue