30 lines
564 B
Nix
30 lines
564 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
buildGoModule,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildGoModule rec {
|
||
|
|
pname = "round";
|
||
|
|
version = "0.0.2";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "mingrammer";
|
||
|
|
repo = "round";
|
||
|
|
rev = "v${version}";
|
||
|
|
hash = "sha256-vP2q0inU5zNJ/eiAqEzwHSqril8hTtpbpNBiAkeWeSU=";
|
||
|
|
};
|
||
|
|
|
||
|
|
vendorHash = null;
|
||
|
|
|
||
|
|
subPackages = [ "." ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "CLI tool for rounding images";
|
||
|
|
homepage = "https://github.com/mingrammer/round";
|
||
|
|
license = licenses.mit;
|
||
|
|
maintainers = with maintainers; [ addict3d ];
|
||
|
|
mainProgram = "round";
|
||
|
|
};
|
||
|
|
}
|