3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/minify/default.nix

25 lines
575 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2016-06-21 14:57:50 +01:00
buildGoModule rec {
pname = "minify";
version = "2.5.0";
2016-06-21 14:57:50 +01:00
goPackagePath = "github.com/tdewolff/minify";
src = fetchFromGitHub {
owner = "tdewolff";
repo = pname;
rev = "v${version}";
sha256 = "1ja26fs7klzggmfqvz5nzj9icaa8r8h4a91qg8rj4gx5cnvwx38d";
2016-06-21 14:57:50 +01:00
};
modSha256 = "0kff2nj66bifbfi8srcvcsipbddw43mvjdwlq0lz04qak524pbvr";
meta = with lib; {
description = "Minifiers for web formats";
license = licenses.mit;
homepage = https://go.tacodewolff.nl/minify;
platforms = platforms.all;
};
2016-06-21 14:57:50 +01:00
}