From 832faf8b7d144fdc51c69ad1efc38805aeadcb3f Mon Sep 17 00:00:00 2001 From: SCOTT-HAMILTON Date: Fri, 5 Mar 2021 12:20:21 +0100 Subject: [PATCH] smooth: init at 0.9.6 --- pkgs/development/libraries/smooth/default.nix | 43 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/development/libraries/smooth/default.nix diff --git a/pkgs/development/libraries/smooth/default.nix b/pkgs/development/libraries/smooth/default.nix new file mode 100644 index 00000000000..f8686238211 --- /dev/null +++ b/pkgs/development/libraries/smooth/default.nix @@ -0,0 +1,43 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c38af6eced2..dbf76d875c2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23006,6 +23006,8 @@ in smallwm = callPackage ../applications/window-managers/smallwm { }; + smooth = callPackage ../development/libraries/smooth { }; + smos = callPackage ../applications/misc/smos { }; spectrwm = callPackage ../applications/window-managers/spectrwm { };