2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-11-05 04:58:42 +00:00
|
|
|
|
2016-05-24 23:35:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "parse-cli-bin";
|
2016-05-24 23:35:53 +00:00
|
|
|
version = "3.0.5";
|
2015-11-05 04:58:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-24 23:35:53 +00:00
|
|
|
url = "https://github.com/ParsePlatform/parse-cli/releases/download/release_${version}/parse_linux";
|
|
|
|
sha256 = "1iyfizbbxmr87wjgqiwqds51irgw6l3vm9wn89pc3zpj2zkyvf5h";
|
2015-11-05 04:58:42 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-11-05 04:58:42 +00:00
|
|
|
description = "Parse Command Line Interface";
|
|
|
|
homepage = "https://parse.com";
|
|
|
|
platforms = platforms.linux;
|
2018-11-08 19:51:34 +00:00
|
|
|
license = licenses.bsd3;
|
2015-11-05 04:58:42 +00:00
|
|
|
};
|
|
|
|
|
2021-07-27 12:06:52 +00:00
|
|
|
dontUnpack = true;
|
2015-11-05 04:58:42 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp "$src" "$out/bin/parse"
|
|
|
|
chmod +x "$out/bin/parse"
|
|
|
|
'';
|
2018-11-08 19:51:34 +00:00
|
|
|
}
|