depot/third_party/nixpkgs/pkgs/tools/misc/dashing/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

28 lines
716 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 = "A Dash Generator Script for Any HTML";
homepage = "https://github.com/technosophos/dashing";
license = licenses.mit;
maintainers = with maintainers; [ aaronjheng ];
};
}