571c71e6f7
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.
26 lines
680 B
Nix
26 lines
680 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "regenkfs";
|
|
version = "unstable-2020-10-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "siraben";
|
|
repo = "regenkfs";
|
|
rev = "652155445fc39bbe6628f6b9415b5cd6863f592f";
|
|
sha256 = "sha256-zkwOpMNPGstn/y1l1s8blUKpBebY4Ta9hiPYxVLvG6Y=";
|
|
};
|
|
|
|
cargoHash = "sha256-05VmQdop4vdzw2XEvVdp9+RNmyZvay1Q7gKN2n8rDEQ=";
|
|
|
|
buildFeatures = [ "c-undef" ];
|
|
|
|
meta = with lib; {
|
|
description = "Reimplementation of genkfs in Rust";
|
|
homepage = "https://github.com/siraben/regenkfs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
mainProgram = "regenkfs";
|
|
};
|
|
}
|