33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
39 lines
829 B
Nix
39 lines
829 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchpatch
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, rustPlatform
|
|
, CoreServices
|
|
, which
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dotter";
|
|
version = "0.12.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SuperCuber";
|
|
repo = "dotter";
|
|
rev = "v${version}";
|
|
hash = "sha256-GGbUpjAcihJLNNo0OtkRGQ2RcT/75vDABlHs7Atzo1s=";
|
|
};
|
|
|
|
cargoHash = "sha256-uC0OwN73krM7QaQ4rtWV6IseKdZmiqrB8a6QGTs6fHE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|