nixpkgs/pkgs/development/web/minify/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
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
2016-09-16 00:04:55 +01:00

18 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;
}