mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
24 lines
567 B
Nix
24 lines
567 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "minify";
|
|
version = "2.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tdewolff";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "12jns7m9liyjg9wy8ynvji2d2g4k2z1ymp6k3610mivmvg159sy4";
|
|
};
|
|
|
|
modSha256 = "09jk3mxf7n9wf1cgyiw9mhsr55fb12k399dmzhnib3vhd9xav15i";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Minifiers for web formats";
|
|
license = licenses.mit;
|
|
homepage = "https://go.tacodewolff.nl/minify";
|
|
};
|
|
}
|