5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
37 lines
815 B
Nix
37 lines
815 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, rustPlatform
|
|
, CoreServices
|
|
, which
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dotter";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SuperCuber";
|
|
repo = "dotter";
|
|
rev = "v${version}";
|
|
hash = "sha256-mAvTy/11a9RGSQpElhpKMzsMC7vA7cbeHsNRy9MnIjw=";
|
|
};
|
|
|
|
cargoHash = "sha256-XsDp/ssoNVdTHDTPm2ucgBeYmFgbeBIxQ/NsGjCl5Qg=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
|
|
nativeCheckInputs = [ which ];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A dotfile manager and templater written in rust 🦀";
|
|
homepage = "https://github.com/SuperCuber/dotter";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [ linsui ];
|
|
};
|
|
}
|