mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
648 B
Nix
28 lines
648 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "remkrom";
|
|
version = "0-unstable-2020-10-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "siraben";
|
|
repo = "remkrom";
|
|
rev = "86a0b19c1d382a029ecaa96eeca7e9f76c8561d6";
|
|
sha256 = "sha256-DhfNfV9bd0p5dLXKgrVLyugQHK+RHsepeg0tGq5J6cI=";
|
|
};
|
|
|
|
cargoHash = "sha256-H+SZ+aUQReFJiN2MQHxaI0/bM1sXaSFVlIhedCKBQ0M=";
|
|
|
|
meta = {
|
|
description = "Reimplementation of mkrom in Rust";
|
|
homepage = "https://github.com/siraben/remkrom";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ siraben ];
|
|
mainProgram = "remkrom";
|
|
};
|
|
}
|