gnustep: provide default meta

Meta data like maintainers, license, and homepage is shared throughout the
"gnustep" project. Everything going through "gsmakeDerivation" now
shares overridable metadata.
This commit is contained in:
Matthew Bauer 2016-06-29 20:05:48 +00:00
parent c3974455eb
commit 1e663df66c
11 changed files with 22 additions and 75 deletions

View File

@ -6,7 +6,6 @@
, x11
, freetype
, pkgconfig
, stdenv
}:
let
version = "0.24.0";
@ -20,12 +19,5 @@ gsmakeDerivation {
buildInputs = [ cairo base gui freetype pkgconfig x11 ];
meta = {
description = "GNUstep-back is a generic backend for GNUstep.";
homepage = http://gnustep.org/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -9,7 +9,6 @@
, libobjc2, libgcrypt
, icu
, pkgconfig, portaudio
, stdenv
}:
let
version = "1.24.7";
@ -35,12 +34,5 @@ gsmakeDerivation {
patches = [ ./fixup-paths.patch ];
meta = {
description = "GNUstep-base is an implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa.";
homepage = http://gnustep.org/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,5 +1,4 @@
{ stdenv, fetchurl, base, back, gsmakeDerivation, gui
}:
{ fetchurl, base, back, gsmakeDerivation, gui }:
let
version = "1.2.18";
in
@ -16,12 +15,5 @@ gsmakeDerivation {
meta = {
description = "Gorm stands for Graphical Object Relationship Modeller and is an easy-to-use interface designer for GNUstep";
homepage = http://www.gnustep.org/experience/Gorm.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,7 +1,4 @@
{ gsmakeDerivation
, fetchurl
, base
, stdenv }:
{ gsmakeDerivation, fetchurl, base }:
let
version = "0.24.0";
in
@ -18,12 +15,5 @@ gsmakeDerivation {
patches = [ ./fixup-all.patch ];
meta = {
description = "GNUstep-gui is a GUI class library of GNUstep.";
homepage = http://gnustep.org/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -21,12 +21,5 @@ gsmakeDerivation {
configureFlags = [ "--with-inotify" ];
meta = {
description = "GWorkspace is a workspace manager for GNUstep";
homepage = http://www.gnustep.org/experience/GWorkspace.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,7 +1,4 @@
{ stdenv, fetchurl,
clang,
cmake
}:
{ stdenv, fetchurl, cmake }:
let
version = "1.7";
@ -12,7 +9,7 @@ stdenv.mkDerivation rec {
url = "http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2";
sha256 = "1h9wkm1x9wrzd3alm99bx710lrs9nb8h2x5jpxbqwgbgzzv4l6rs";
};
buildInputs = [ clang cmake ];
buildInputs = [ cmake ];
# since we don't support Objective-C++, we don't interoperate
# with C++ either
@ -43,7 +40,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.all;
};
}
}

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,6 +1,5 @@
{ stdenv, lib, libobjc2, clang, make, makeWrapper, which }:
{ buildInputs ? []
, ...} @ args:
{ buildInputs ? [], ...} @ args:
stdenv.mkDerivation (args // {
buildInputs = [ makeWrapper make which ] ++ buildInputs;
@ -8,4 +7,13 @@ stdenv.mkDerivation (args // {
setupHook = ./setup-hook.sh;
GNUSTEP_MAKEFILES = "${make}/share/GNUstep/Makefiles";
meta = {
homepage = http://gnustep.org/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.linux;
} // (if builtins.hasAttr "meta" args then args.meta else {});
})

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ fetchurl
, base, back, gsmakeDerivation, gui, gorm
, gnumake, gdb
}:
@ -19,12 +19,5 @@ gsmakeDerivation {
meta = {
description = "ProjectCenter is GNUstep's integrated development environment (IDE) and allows a rapid development and easy managment of ProjectCenter running on GNUstep applications, tools and frameworks.";
homepage = http://www.gnustep.org/experience/ProjectCenter.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,7 +1,4 @@
{ back, base, gui, gsmakeDerivation
, fetchurl
, stdenv
}:
{ back, base, gui, gsmakeDerivation, fetchurl }:
let
version = "1.1.0";
in
@ -16,12 +13,5 @@ gsmakeDerivation {
# propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui ];
meta = {
description = "System Preferences allows to manage the settings of many aspects of the GNUstep environment and its applications";
homepage = http://www.gnustep.org/experience/systempreferences.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, make, libobjc2, base }:
{ gsmakeDerivation, fetchFromGitHub, make, libobjc2, base }:
stdenv.mkDerivation rec {
gsmakeDerivation rec {
name = "xcode-${version}";
version = "1.0";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
installFlags = "DESTDIR=$(out)";
buildInputs = [ make libobjc2 base ];
buildInputs = [ libobjc2 base ];
src = fetchFromGitHub {
owner = "gnustep";