summaryrefslogtreecommitdiff
path: root/parts/derivation.nix
blob: f95446fb18b8f9ab85d40b47d1d5cbe7834dbf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  lib,
  stdenv,
  craneLib,
  self,
  ...
}:
craneLib.buildPackage {
  src = craneLib.cleanCargoSource self;
  inherit (self.packages.${stdenv.hostPlatform.system}) cargoArtifacts;

  meta = with lib; {
    mainProgram = "teawiebot";
    description = "funni bot";
    homepage = "https://github.com/getchoo/teawiebot";
    license = licenses.mit;
    platforms = with platforms; unix;
    maintainers = with maintainers; [getchoo];
  };
}