depot/third_party/nixpkgs/pkgs/development/libraries/smooth/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

43 lines
696 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, gtk3
, curl
, libxml2
}:
stdenv.mkDerivation rec {
pname = "smooth";
version = "0.9.6";
src = fetchFromGitHub {
owner = "enzo1982";
repo = "smooth";
rev = "v${version}";
sha256 = "05j5gk6kz2089x8bcq2l0kjspfiiymxn69jcxl4dh9lw96blbadr";
};
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;
};
}