2022-11-27 09:42:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, dashing }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
buildGoModule rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
pname = "dashing";
|
|
|
|
version = "0.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "technosophos";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-CcEgGPnJGrTXrgo82u5dxQTB/YjFBhHdsv7uggsHG1Y=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
vendorHash = "sha256-XeUFmzf6y0S82gMOzkj4AUNFkVvkVOwauYpqY4jeWLM=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = dashing;
|
|
|
|
};
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Dash Generator Script for Any HTML";
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://github.com/technosophos/dashing";
|
|
|
|
license = licenses.mit;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|