mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
19 lines
409 B
Nix
19 lines
409 B
Nix
{ 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.nix;
|
|
}
|