summary refs log tree commit diff
path: root/pkgs/tools/misc/dashing/default.nix
blob: 496639ec07a58132303a945114ed9f5c79fc946c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 = [ ];
  };
}