Author: urkud
Date: Sat Jul 17 22:11:59 2010
New Revision: 22621
URL: https://svn.nixos.org/websvn/nix/?rev=22621&sc=1
Log:
SDO-0.5
Modified:
nixpkgs/trunk/pkgs/data/misc/shared-desktop-ontologies/default.nix
Modified: nixpkgs/trunk/pkgs/data/misc/shared-desktop-ontologies/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/data/misc/shared-desktop-ontologies/default.nix Sat Jul
17 13:23:48 2010 (r22620)
+++ nixpkgs/trunk/pkgs/data/misc/shared-desktop-ontologies/default.nix Sat Jul
17 22:11:59 2010 (r22621)
@@ -1,14 +1,27 @@
-{stdenv, fetchurl, cmake}:
+{stdenv, fetchurl, cmake, v ? "0.2"}:
-stdenv.mkDerivation {
- name = "shared-desktop-ontologies-0.2";
+stdenv.mkDerivation rec {
+ name = "shared-desktop-ontologies-${v}";
src = fetchurl {
- url = mirror://sourceforge/oscaf/shared-desktop-ontologies-0.2.tar.bz2;
- sha256 = "1w9gfprrp518hb7nm5wspxjd7xx0h08bph6asrx5vrx7j7fzg4m7";
+ url = "mirror://sf/oscaf/${name}.tar.bz2";
+ sha256 =
+ if v == "0.2" then
+ "1w9gfprrp518hb7nm5wspxjd7xx0h08bph6asrx5vrx7j7fzg4m7"
+ else if v == "0.5" then
+ "1a1gs2b314133rg7vzwvnqbxchf7xgs0jpkydid5l2wz98m7j17r"
+ else throw "Unknown version";
};
buildInputs = [ cmake ];
- meta = {
+ meta = with stdenv.lib; {
description = "Ontologies necessary for the Nepomuk semantic desktop";
- maintainers = [ stdenv.lib.maintainers.sander ];
+ longDescription = ''
+ The shared-desktop-ontologies package brings the semantic web to the
+ desktop in terms of vocabulary. It contains the well known core
+ ontologies such as RDF and RDFS as well as the Nepomuk ontologies which
+ are used by projects like KDE or Strigi.
+ '';
+ platforms = platforms.all;
+ maintainers = [ maintainers.sander maintainers.urkud ];
};
}
+
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits