blob: 33dbd0fec18166d2f589f4e370d6666a0f018630 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "parse-cli-bin";
version = "3.0.5";
src = fetchurl {
url = "https://github.com/ParsePlatform/parse-cli/releases/download/release_${version}/parse_linux";
sha256 = "1iyfizbbxmr87wjgqiwqds51irgw6l3vm9wn89pc3zpj2zkyvf5h";
};
meta = with lib; {
description = "Parse Command Line Interface";
homepage = "https://parse.com";
platforms = platforms.linux;
license = licenses.bsd3;
};
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"
cp "$src" "$out/bin/parse"
chmod +x "$out/bin/parse"
'';
}
|