mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
35 lines
765 B
Nix
35 lines
765 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, testers
|
|
, hex
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hex";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sitkevij";
|
|
repo = "hex";
|
|
rev = "v${version}";
|
|
hash = "sha256-YctXDhCMJvDQLPsuhzdyYDUIlFE2vKltNtrFFeE7YE8=";
|
|
};
|
|
|
|
cargoHash = "sha256-Nlha9Zn0qaQhpN2ivbBvpIPxCN2I7BtJJULb6sYdpdo=";
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = hex;
|
|
version = "hx ${version}";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Futuristic take on hexdump, made in Rust";
|
|
homepage = "https://github.com/sitkevij/hex";
|
|
changelog = "https://github.com/sitkevij/hex/releases/tag/v${version}";
|
|
mainProgram = "hx";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|