blob: 51f69f8d50c4d25bcf8b2846d9eb679c92b8e635 (
plain) (
tree)
|
|
{ self, lib, stdenvNoCC, pkgs }:
stdenvNoCC.mkDerivation rec {
pname = "gha-billing";
src = ./gha-billing.py;
version = "0.1.0";
buildInputs = [
(pkgs.python310.withPackages (ps: with ps; [
requests
]))
];
propagatedBuildInputs = [
(pkgs.python310.withPackages (ps: with ps; [
requests
]))
];
dontUnpack = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/${pname}
'';
meta = with pkgs.lib; {
description = "CLI to get billing information for GHA.";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ ];
};
}
|