onefetch: 2.9.1 -> 2.10.2
This commit is contained in:
parent
06607de533
commit
d09892f521
|
@ -1,18 +1,26 @@
|
||||||
{ fetchFromGitHub, rustPlatform, lib, stdenv, fetchpatch
|
{ fetchFromGitHub
|
||||||
, CoreFoundation, libiconv, libresolv, Security }:
|
, rustPlatform
|
||||||
|
, lib
|
||||||
|
, stdenv
|
||||||
|
, fetchpatch
|
||||||
|
, CoreFoundation
|
||||||
|
, libiconv
|
||||||
|
, libresolv
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "onefetch";
|
pname = "onefetch";
|
||||||
version = "2.9.1";
|
version = "2.10.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "o2sh";
|
owner = "o2sh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-owa+HmzMXpLR7H1FssW4gQiVAQGJRXhcitgJj6pxJRc=";
|
sha256 = "sha256-lrRp01ZeK9bGn7L7SqAxJAU9qugpHnC06CWChhVPGGQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Bn2FlRESuW83ouGPiBwvGkIB0uCDDG0hdhRfRBks/0Q=";
|
cargoSha256 = "sha256-vNa1OF1x/MCTo9B4DTDZNWyHTsOl7Za3EgjnpsL/gWg=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ];
|
||||||
|
|
||||||
|
@ -20,6 +28,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Git repository summary on your terminal";
|
description = "Git repository summary on your terminal";
|
||||||
homepage = "https://github.com/o2sh/onefetch";
|
homepage = "https://github.com/o2sh/onefetch";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ Br1ght0ne kloenk ];
|
maintainers = with maintainers; [ Br1ght0ne kloenk SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue