mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-11 15:27:13 +00:00

We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
27 lines
663 B
Nix
27 lines
663 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "void";
|
|
version = "1.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spacejam";
|
|
repo = "void";
|
|
rev = version;
|
|
sha256 = "08vazw4rszqscjz988k89z28skyj3grm81bm5iwknxxagmrb20fz";
|
|
};
|
|
|
|
# The tests are long-running and not that useful
|
|
doCheck = false;
|
|
|
|
cargoHash = "sha256-4LLm8EIGR9YJyVlSLRsQmBJc0QZaxBQafE4VLsDyAfI=";
|
|
|
|
meta = with lib; {
|
|
description = "Terminal-based personal organizer";
|
|
homepage = "https://github.com/spacejam/void";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ spacekookie ];
|
|
mainProgram = "void";
|
|
};
|
|
}
|