blob: bf9c7c9096cdb8f5ce0d2a6ed4df149bcc082dd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "piston-cli";
version = "1.2.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "bf0hhKb+6+07HhrkFrsWCnUQfsQWOdK/dPTlt9iZTno=";
};
propagatedBuildInputs = with python3Packages; [ rich prompt_toolkit requests pygments ];
checkPhase = ''
$out/bin/piston --help > /dev/null
'';
meta = with lib; {
description = "Piston api tool";
homepage = "https://github.com/Shivansh-007/piston-cli";
license = licenses.mit;
maintainers = with maintainers; [ ethancedwards8 ];
};
}
|