2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-04-11 22:22:23 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2020-06-17 13:59:35 +01:00
|
|
|
pname = "dashing";
|
|
|
|
version = "0.4.0";
|
2018-04-11 22:22:23 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/technosophos/dashing";
|
|
|
|
|
2020-06-17 13:59:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "technosophos";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0mhv0w5q5vpynbfi21n5i3yw2165bppdlg0amvbv86n9z4c21h89";
|
2018-04-11 22:22:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2020-06-17 13:59:35 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-11 22:22:23 +01:00
|
|
|
description = "A Dash Generator Script for Any HTML";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/technosophos/dashing";
|
2018-04-11 22:22:23 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|