nixpkgs/pkgs/tools/misc/dashing/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

30 lines
714 B
Nix

{ lib, buildGoModule, fetchFromGitHub, testers, dashing }:
buildGoModule rec {
pname = "dashing";
version = "0.4.0";
src = fetchFromGitHub {
owner = "technosophos";
repo = pname;
rev = version;
hash = "sha256-CcEgGPnJGrTXrgo82u5dxQTB/YjFBhHdsv7uggsHG1Y=";
};
vendorHash = "sha256-XeUFmzf6y0S82gMOzkj4AUNFkVvkVOwauYpqY4jeWLM=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
passthru.tests.version = testers.testVersion {
package = dashing;
};
meta = with lib; {
description = "Dash Generator Script for Any HTML";
homepage = "https://github.com/technosophos/dashing";
license = licenses.mit;
maintainers = [ ];
mainProgram = "dashing";
};
}