about summary refs log tree commit diff
path: root/pkgs/tools/misc/ding-libs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-02-10 19:17:55 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-02-10 20:12:00 +0200
commit6bf0a984ef7b164855f1dba154534ed852250001 (patch)
treeca7c52c36471e4afaccfa2ddafde24cf70fa40bd /pkgs/tools/misc/ding-libs
parent6a48087bc3b2277814504a274c6da0ffd8bb7d44 (diff)
ding-libs: Some cleanups
- Add version to the name so Nix knows about it
- glibc is an implicit buildInput, no need to add it
- The docs don't seem to get build anyway, don't try to build them &
  remove the doxygen build input
- Add meta.platforms
Diffstat (limited to 'pkgs/tools/misc/ding-libs')
-rw-r--r--pkgs/tools/misc/ding-libs/default.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/tools/misc/ding-libs/default.nix b/pkgs/tools/misc/ding-libs/default.nix
index 547e3fb49eb74..e5daee11b593c 100644
--- a/pkgs/tools/misc/ding-libs/default.nix
+++ b/pkgs/tools/misc/ding-libs/default.nix
@@ -1,26 +1,23 @@
-{ stdenv, fetchurl, glibc, doxygen, check }:
+{ stdenv, fetchurl, check }:
 
-let
-  name = "ding-libs";
+stdenv.mkDerivation rec {
+  name = "ding-libs-${version}";
   version = "0.6.0";
-in stdenv.mkDerivation {
-  inherit name;
-  inherit version;
 
   src = fetchurl {
-    url = "https://fedorahosted.org/released/${name}/${name}-${version}.tar.gz";
+    url = "https://fedorahosted.org/released/ding-libs/ding-libs-${version}.tar.gz";
     sha1 = "c8ec86cb93a26e013a13b12a7b0b3fbc1bca16c1";
   };
 
   enableParallelBuilding = true;
-  buildInputs = [ glibc doxygen check ];
+  buildInputs = [ check ];
 
-  buildFlags = "docs";
   doCheck = true;
 
   meta = {
     description = "'D is not GLib' utility libraries";
     homepage = https://fedorahosted.org/sssd/;
+    platforms = with stdenv.lib.platforms; linux;
     maintainers = with stdenv.lib.maintainers; [ e-user ];
     license = [ stdenv.lib.licenses.gpl3 stdenv.lib.licenses.lgpl3 ];
   };