22 lines
549 B
Nix
22 lines
549 B
Nix
{ lib, buildGoModule, fetchFromGitHub, stdenv, glibc }:
|
|
|
|
buildGoModule rec {
|
|
pname = "inkpot-cli";
|
|
version = "0.0.1";
|
|
|
|
src = ./.;
|
|
vendorSha256 = "sha256-W+oAjjRYXoKM20nubO0y2yUA4WRjOn7zki3pIf9TMvc=";
|
|
|
|
buildInputs = [
|
|
stdenv
|
|
glibc.static
|
|
];
|
|
ldflags = "-linkmode external -extldflags -static";
|
|
|
|
meta = with lib; {
|
|
description = "Command-line tool to generate 4-bit grayscale images";
|
|
homepage = "https://github.com/saunaclub/inkpot-cli/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [];
|
|
};
|
|
}
|