Merge pull request #206053 from urandom2/imaginary
Fixes https://github.com/NixOS/nixpkgs/issues/204482
This commit is contained in:
commit
45babd80d1
2 changed files with 35 additions and 0 deletions
33
pkgs/servers/imaginary/default.nix
Normal file
33
pkgs/servers/imaginary/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, pkg-config, vips }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "imaginary";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "h2non";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oEkFoZMaNNJPMisqpIneeLK/sA23gaTWJ4nqtDHkrwA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-BluY6Fz4yAKJ/A9aFuPPsgQN9N/5yd8g8rDfIZeYz5U=";
|
||||
|
||||
buildInputs = [ vips ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fly.io/docs/app-guides/run-a-global-image-service";
|
||||
changelog = "https://github.com/h2non/${pname}/releases/tag/v${version}";
|
||||
description = "Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ urandom ];
|
||||
};
|
||||
}
|
|
@ -23930,6 +23930,8 @@ with pkgs;
|
|||
|
||||
inspircdMinimal = inspircd.override { extraModules = []; };
|
||||
|
||||
imaginary = callPackage ../servers/imaginary {};
|
||||
|
||||
imgproxy = callPackage ../servers/imgproxy { };
|
||||
|
||||
irccat = callPackage ../servers/irc/irccat { };
|
||||
|
|
Loading…
Reference in a new issue