parse: init at 3.0.1

This commit is contained in:
Chris Martin 2015-11-04 23:58:42 -05:00
parent fc6c73c3c2
commit d03cee22c4
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl }:
let
version = "3.0.1";
in stdenv.mkDerivation rec {
name = "parse-cli-bin-${version}";
src = fetchurl {
url = "https://github.com/ParsePlatform/parse-cli/releases/download/release_${version}/parse_linux";
sha256 = "d68eccc1d9408b60901b149d2b4710f3cfd0eabe5772d2e222c06870fdeca3c7";
};
meta = with stdenv.lib; {
description = "Parse Command Line Interface";
homepage = "https://parse.com";
platforms = platforms.linux;
};
phases = "installPhase";
installPhase = ''
mkdir -p "$out/bin"
cp "$src" "$out/bin/parse"
chmod +x "$out/bin/parse"
'';
}

View File

@ -5728,6 +5728,8 @@ let
oprofile = callPackage ../development/tools/profiling/oprofile { };
parse-cli-bin = callPackage ../development/tools/parse-cli-bin { };
patchelf = callPackage ../development/tools/misc/patchelf { };
peg = callPackage ../development/tools/parsing/peg { };