blob: 114120e825afd1eb037b5da5349787072c157992 (
plain) (
tree)
|
|
{ lib, python3, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "slocalc";
src = ./slocalc.py;
version = "0.1.0";
buildInputs = [ python3 ];
propagatedBuildInputs = [ python3 ];
dontUnpack = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/${pname}
'';
meta = with lib; {
description = "Calculate SLO uptime.";
license = with licenses; [ mit ];
platforms = platforms.unix;
maintainers = with maintainers; [ fcuny ];
};
}
|