brewery
notashelf /
0df5588f02af0396fd7abfdd81aa839211ed77b8

beer

public

A terminal worth pouring time into

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/beer.git
nix/package.nixNix29 lines559 B
1
{
2
  lib,
3
  rustPlatform,
4
}:
5
rustPlatform.buildRustPackage (finalAttrs: {
6
  pname = "beer";
7
  version = "0.0.0";
8
9
  src = let
10
    fs = lib.fileset;
11
    s = ../.;
12
  in
13
    fs.toSource {
14
      root = s;
15
      fileset = fs.unions [
16
        (fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /src))
17
        (s + /Cargo.lock)
18
        (s + /Cargo.toml)
19
      ];
20
    };
21
22
  cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
23
  enableParallelBuilding = true;
24
25
  meta = {
26
    maintainers = with lib.maintainers; [NotAShelf];
27
    mainProgram = "beer";
28
  };
29
})