forked from o2sh/onefetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
29 lines (26 loc) · 812 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
system ? builtins.currentSystem,
pkgs ? import <nixpkgs> { inherit system; },
...
}:
with pkgs;
let
rustPlatform = makeRustPlatform {
rustc = cargo;
cargo = cargo;
};
in
rustPlatform.buildRustPackage rec {
name = "onefetch-${version}";
version = "1.6.5";
src = ./.;
cargoSha256 = "0saxy27m08lcb9gr71n2m283frdhaixiac6d7fvdwj5qv228kjdb";
buildInputs = [ ];
CARGO_HOME = "$(mktemp -d cargo-home.XXX)";
meta = with lib; {
homepage = https://github.com/o2sh/onefetch;
description = ''displays information about your Git project directly on your terminal'';
license = licenses.mit;
# maintainers = with maintainers; [ kloenk ]; # I'm not a maintainer yet, but maybe I will submit this package, and then I will be a maintainer
};
}