Merge pull request #10641 from chris-martin/add-parse

parse: init at 3.0.1
This commit is contained in:
Domen Kožar 2015-11-09 10:26:55 +01:00
commit 2b93a6836d
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 { };