Files
nixpkgs/pkgs/by-name/sm/smooth/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

63 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
bzip2,
curl,
fribidi,
gtk3,
iconv,
libcpuid,
libjpeg,
libpng,
libwebp,
libxml2,
zlib,
}:
stdenv.mkDerivation rec {
pname = "smooth";
version = "0.9.10";
src = fetchFromGitHub {
owner = "enzo1982";
repo = "smooth";
rev = "v${version}";
sha256 = "sha256-J2Do1iAbE1GBC8co/4nxOzeGJQiPRc+21fgMDpzKX+A=";
};
nativeBuildInputs = [
pkg-config
];
makeFlags = [
"prefix=$(out)"
"config=systemlibbz2,systemlibcpuid,systemlibcurl,systemlibfribidi,systemlibiconv,systemlibjpeg,systemlibpng,systemlibwebp,systemlibxml2,systemzlib"
];
buildInputs = [
bzip2
curl
fribidi
gtk3
iconv
libcpuid
libjpeg
libpng
libwebp
libxml2
zlib
];
meta = with lib; {
description = "Object-oriented class library for C++ application development";
mainProgram = "smooth-translator";
license = licenses.artistic2;
homepage = "http://www.smooth-project.org/";
maintainers = with maintainers; [ shamilton ];
platforms = platforms.linux;
};
}