depot/third_party/nixpkgs/pkgs/tools/misc/dashing/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
617 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dashing";
version = "0.4.0";
goPackagePath = "github.com/technosophos/dashing";
src = fetchFromGitHub {
owner = "technosophos";
repo = pname;
rev = version;
sha256 = "0mhv0w5q5vpynbfi21n5i3yw2165bppdlg0amvbv86n9z4c21h89";
};
goDeps = ./deps.nix;
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
meta = with lib; {
description = "A Dash Generator Script for Any HTML";
homepage = "https://github.com/technosophos/dashing";
license = licenses.mit;
maintainers = [ ];
};
}