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:
parent
c3974455eb
commit
1e663df66c
@ -6,7 +6,6 @@
|
|||||||
, x11
|
, x11
|
||||||
, freetype
|
, freetype
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, stdenv
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.24.0";
|
version = "0.24.0";
|
||||||
@ -20,12 +19,5 @@ gsmakeDerivation {
|
|||||||
buildInputs = [ cairo base gui freetype pkgconfig x11 ];
|
buildInputs = [ cairo base gui freetype pkgconfig x11 ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNUstep-back is a generic backend for GNUstep.";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
, libobjc2, libgcrypt
|
, libobjc2, libgcrypt
|
||||||
, icu
|
, icu
|
||||||
, pkgconfig, portaudio
|
, pkgconfig, portaudio
|
||||||
, stdenv
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "1.24.7";
|
version = "1.24.7";
|
||||||
@ -35,12 +34,5 @@ gsmakeDerivation {
|
|||||||
patches = [ ./fixup-paths.patch ];
|
patches = [ ./fixup-paths.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNUstep-base is an implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa.";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, fetchurl, base, back, gsmakeDerivation, gui
|
{ fetchurl, base, back, gsmakeDerivation, gui }:
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
version = "1.2.18";
|
version = "1.2.18";
|
||||||
in
|
in
|
||||||
@ -16,12 +15,5 @@ gsmakeDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Gorm stands for Graphical Object Relationship Modeller and is an easy-to-use interface designer for GNUstep";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{ gsmakeDerivation
|
{ gsmakeDerivation, fetchurl, base }:
|
||||||
, fetchurl
|
|
||||||
, base
|
|
||||||
, stdenv }:
|
|
||||||
let
|
let
|
||||||
version = "0.24.0";
|
version = "0.24.0";
|
||||||
in
|
in
|
||||||
@ -18,12 +15,5 @@ gsmakeDerivation {
|
|||||||
patches = [ ./fixup-all.patch ];
|
patches = [ ./fixup-all.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNUstep-gui is a GUI class library of GNUstep.";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -21,12 +21,5 @@ gsmakeDerivation {
|
|||||||
configureFlags = [ "--with-inotify" ];
|
configureFlags = [ "--with-inotify" ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "GWorkspace is a workspace manager for GNUstep";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{ stdenv, fetchurl,
|
{ stdenv, fetchurl, cmake }:
|
||||||
clang,
|
|
||||||
cmake
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.7";
|
version = "1.7";
|
||||||
@ -12,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2";
|
url = "http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2";
|
||||||
sha256 = "1h9wkm1x9wrzd3alm99bx710lrs9nb8h2x5jpxbqwgbgzzv4l6rs";
|
sha256 = "1h9wkm1x9wrzd3alm99bx710lrs9nb8h2x5jpxbqwgbgzzv4l6rs";
|
||||||
};
|
};
|
||||||
buildInputs = [ clang cmake ];
|
buildInputs = [ cmake ];
|
||||||
|
|
||||||
# since we don't support Objective-C++, we don't interoperate
|
# since we don't support Objective-C++, we don't interoperate
|
||||||
# with C++ either
|
# with C++ either
|
||||||
@ -43,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, lib, libobjc2, clang, make, makeWrapper, which }:
|
{ stdenv, lib, libobjc2, clang, make, makeWrapper, which }:
|
||||||
{ buildInputs ? []
|
{ buildInputs ? [], ...} @ args:
|
||||||
, ...} @ args:
|
|
||||||
stdenv.mkDerivation (args // {
|
stdenv.mkDerivation (args // {
|
||||||
buildInputs = [ makeWrapper make which ] ++ buildInputs;
|
buildInputs = [ makeWrapper make which ] ++ buildInputs;
|
||||||
|
|
||||||
@ -8,4 +7,13 @@ stdenv.mkDerivation (args // {
|
|||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
GNUSTEP_MAKEFILES = "${make}/share/GNUstep/Makefiles";
|
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 {});
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl
|
{ fetchurl
|
||||||
, base, back, gsmakeDerivation, gui, gorm
|
, base, back, gsmakeDerivation, gui, gorm
|
||||||
, gnumake, gdb
|
, gnumake, gdb
|
||||||
}:
|
}:
|
||||||
@ -19,12 +19,5 @@ gsmakeDerivation {
|
|||||||
|
|
||||||
meta = {
|
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.";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{ back, base, gui, gsmakeDerivation
|
{ back, base, gui, gsmakeDerivation, fetchurl }:
|
||||||
, fetchurl
|
|
||||||
, stdenv
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
in
|
in
|
||||||
@ -16,12 +13,5 @@ gsmakeDerivation {
|
|||||||
# propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui ];
|
# propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "System Preferences allows to manage the settings of many aspects of the GNUstep environment and its applications";
|
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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, make, libobjc2, base }:
|
{ gsmakeDerivation, fetchFromGitHub, make, libobjc2, base }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
gsmakeDerivation rec {
|
||||||
name = "xcode-${version}";
|
name = "xcode-${version}";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "DESTDIR=$(out)";
|
installFlags = "DESTDIR=$(out)";
|
||||||
|
|
||||||
buildInputs = [ make libobjc2 base ];
|
buildInputs = [ libobjc2 base ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gnustep";
|
owner = "gnustep";
|
||||||
|
Loading…
Reference in New Issue
Block a user