mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
25 lines
614 B
Nix
25 lines
614 B
Nix
{ lib, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "piston-cli";
|
|
version = "1.3.0";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "XzKXHZHYZRT3t4ZonM+Ngx1jIT1nmz4k34VSw29GFoM=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|