nixpkgs/pkgs/tools/misc/dashing/default.nix

28 lines
660 B
Nix
Raw Normal View History

2020-06-17 15:59:35 +03:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-04-12 00:22:23 +03:00
buildGoPackage rec {
2020-06-17 15:59:35 +03:00
pname = "dashing";
version = "0.4.0";
2018-04-12 00:22:23 +03:00
goPackagePath = "github.com/technosophos/dashing";
2020-06-17 15:59:35 +03:00
src = fetchFromGitHub {
owner = "technosophos";
repo = pname;
rev = version;
sha256 = "0mhv0w5q5vpynbfi21n5i3yw2165bppdlg0amvbv86n9z4c21h89";
2018-04-12 00:22:23 +03:00
};
goDeps = ./deps.nix;
2020-06-17 15:59:35 +03:00
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
2018-04-12 00:22:23 +03:00
meta = with stdenv.lib; {
description = "A Dash Generator Script for Any HTML";
homepage = "https://github.com/technosophos/dashing";
2018-04-12 00:22:23 +03:00
license = licenses.mit;
maintainers = [ ];
2018-12-16 14:28:32 +03:00
platforms = platforms.all;
2018-04-12 00:22:23 +03:00
};
}