bb5b50588c
GitOrigin-RevId: 9816b99e71c3504b0b4c1f8b2e004148460029d4
24 lines
614 B
Nix
24 lines
614 B
Nix
{ lib, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "piston-cli";
|
|
version = "1.2.2";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "hhOistr5lHF6rIuMpudKwSuBQhaQDzTdelAOCjyVQZk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|