a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
24 lines
636 B
Nix
24 lines
636 B
Nix
{ lib, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "piston-cli";
|
|
version = "1.4.3";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "qvDGVJcaMXUajdUQWl4W1dost8k0PsS9XX/o8uQrtfY=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [ rich prompt-toolkit requests pygments pyyaml more-itertools ];
|
|
|
|
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 ];
|
|
};
|
|
}
|