nixpkgs/pkgs/by-name/vi/viddy/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
925 B
Nix
Raw Normal View History

{
lib,
rustPlatform,
fetchFromGitHub,
}:
2021-09-14 14:36:23 +00:00
rustPlatform.buildRustPackage rec {
2021-09-14 14:36:23 +00:00
pname = "viddy";
2024-10-01 09:04:49 +00:00
version = "1.1.5";
2021-09-14 14:36:23 +00:00
src = fetchFromGitHub {
owner = "sachaos";
repo = "viddy";
2021-09-14 14:36:23 +00:00
rev = "v${version}";
2024-10-01 09:04:49 +00:00
hash = "sha256-RewzToI7vhaH8r6ZWDLgfSJOOCm26Udkzh9+xkJP2jE=";
2021-09-14 14:36:23 +00:00
};
2024-10-01 09:04:49 +00:00
cargoHash = "sha256-NhgiaUEUTfsbVqFkBgLPc3A8XmtwgQ5tp673zFD4TGI=";
2021-09-14 14:36:23 +00:00
# requires nightly features
env.RUSTC_BOOTSTRAP = 1;
2024-10-01 09:04:49 +00:00
env.VERGEN_BUILD_DATE = "2024-09-30"; # managed via the update script
env.VERGEN_GIT_DESCRIBE = "Nixpkgs";
passthru.updateScript.command = [ ./update.sh ];
2021-09-14 14:36:23 +00:00
meta = with lib; {
description = "Modern watch command, time machine and pager etc.";
changelog = "https://github.com/sachaos/viddy/releases";
2021-09-14 14:36:23 +00:00
homepage = "https://github.com/sachaos/viddy";
license = licenses.mit;
maintainers = with maintainers; [
j-hui
phanirithvij
];
2023-11-27 01:17:53 +00:00
mainProgram = "viddy";
2021-09-14 14:36:23 +00:00
};
}