Skip to content

Commit

Permalink
fix imgproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarvstedt committed Jan 10, 2020
1 parent fa4ccb5 commit 4648cef
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pkgs/servers/imgproxy/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{ lib, buildGoModule, fetchFromGitHub, pkg-config, vips, gobject-introspection }:

buildGoModule rec {
version = "v2.8.1";
name = "imgproxy-${version}";
version = "2.8.1";
pname = "imgproxy";

src = fetchFromGitHub {
owner ="imgproxy";
repo = "imgproxy";
sha256 = "00hhgh6nrzg2blc6yl8rph5h5w7swlkbh0zgsj7xr0lkm10879pc";
rev = "v${version}";
};

buildInputs = [
gobject-introspection
pkg-config
vips
];

src = fetchFromGitHub {
owner ="imgproxy";
repo = "imgproxy";
sha256 = "00hhgh6nrzg2blc6yl8rph5h5w7swlkbh0zgsj7xr0lkm10879pc";
rev = "${version}";
};
preBuild = ''
export CGO_LDFLAGS_ALLOW='-(s|w)'
'';

goPackagePath = "github.com/imgproxy/imgproxy";

modSha256 = "0w2k1v6zvk2kwh91idfisry3wly18ix8j13zjpl2q3hmv06mghpg";
modSha256 = "0kgd8lwcdns3skvd4bj4z85mq6hkk79mb0zzwky0wqxni8f73s6w";

meta = with lib; {
description = "Fast and secure on-the-fly image processing server written in Go";
homepage = https://imgproxy.net;
license = licenses.mit;
maintainers = with maintainers; [ paluh ];
homepage = https://imgproxy.net/;
};
}

0 comments on commit 4648cef

Please sign in to comment.