2021-03-05 11:20:21 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
|
|
|
|
, gtk3
|
|
|
|
, curl
|
|
|
|
, libxml2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "smooth";
|
2022-01-27 22:35:11 +00:00
|
|
|
version = "0.9.9";
|
2021-03-05 11:20:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "enzo1982";
|
|
|
|
repo = "smooth";
|
|
|
|
rev = "v${version}";
|
2022-01-27 22:35:11 +00:00
|
|
|
sha256 = "sha256-30qVXK54SDL2+ZPbTINZix4Ax1iOMg2WLeEDyAr77Og=";
|
2021-03-05 11:20:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
curl
|
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The smooth Class Library";
|
|
|
|
license = licenses.artistic2;
|
|
|
|
homepage = "http://www.smooth-project.org/";
|
|
|
|
maintainers = with maintainers; [ shamilton ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|