minify: init at v2.0.0
This commit is contained in:
18
pkgs/development/web/minify/default.nix
Normal file
18
pkgs/development/web/minify/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "minify-${version}";
|
||||
version = "v2.0.0";
|
||||
rev = "41f3effd65817bac8acea89d49b3982211803a4d";
|
||||
|
||||
goPackagePath = "github.com/tdewolff/minify";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "tdewolff";
|
||||
repo = "minify";
|
||||
sha256 = "15d9ivg1a9v9c2n0a9pfw74952xhd4vqgx8d60dhvif9lx1d8wlq";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
}
|
||||
15
pkgs/development/web/minify/deps.json
Normal file
15
pkgs/development/web/minify/deps.json
Normal file
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"github.com/tdewolff/buffer",
|
||||
"github.com/tdewolff/parse",
|
||||
"github.com/tdewolff/strconv",
|
||||
"github.com/dustin/go-humanize",
|
||||
"github.com/fsnotify/fsnotify",
|
||||
"github.com/matryer/try",
|
||||
"github.com/ogier/pflag",
|
||||
"golang.org/x/sys"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user