From 26939eee7954792f9c0713983f3d63c49164fe73 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Thu, 13 Aug 2015 18:29:49 +0200 Subject: Remove unreferenced files This commit removes files that are not referenced in nixpkgs anymore. I have created this list by finding potential candidates using find nixpkgs/pkgs -type d -links 2 | parallel -N 1 'out=`grep -L {} top-level/all-packages.nix`; test -n "$out" && echo {}' and have then searched for those candidates with grep in whole nixpkgs. --- pkgs/applications/misc/hello/ex-1/builder.sh | 9 --- pkgs/applications/misc/hello/ex-1/default.nix | 16 ------ pkgs/development/libraries/libgdata/0.6.nix | 51 ----------------- pkgs/development/libraries/libkolab/default.nix | 25 --------- pkgs/development/libraries/libkolabxml/default.nix | 25 --------- pkgs/development/libraries/libtidy/default.nix | 28 ---------- pkgs/development/libraries/openexr_ctl/default.nix | 21 ------- .../development/libraries/pdf2htmlex/pdf2xml.patch | 48 ---------------- pkgs/development/libraries/ruby_gpgme/default.nix | 64 ---------------------- .../libraries/ruby_ncursesw_sup/default.nix | 48 ---------------- 10 files changed, 335 deletions(-) delete mode 100644 pkgs/applications/misc/hello/ex-1/builder.sh delete mode 100644 pkgs/applications/misc/hello/ex-1/default.nix delete mode 100644 pkgs/development/libraries/libgdata/0.6.nix delete mode 100644 pkgs/development/libraries/libkolab/default.nix delete mode 100644 pkgs/development/libraries/libkolabxml/default.nix delete mode 100644 pkgs/development/libraries/libtidy/default.nix delete mode 100644 pkgs/development/libraries/openexr_ctl/default.nix delete mode 100644 pkgs/development/libraries/pdf2htmlex/pdf2xml.patch delete mode 100644 pkgs/development/libraries/ruby_gpgme/default.nix delete mode 100644 pkgs/development/libraries/ruby_ncursesw_sup/default.nix (limited to 'pkgs') diff --git a/pkgs/applications/misc/hello/ex-1/builder.sh b/pkgs/applications/misc/hello/ex-1/builder.sh deleted file mode 100644 index 08bba946cce..00000000000 --- a/pkgs/applications/misc/hello/ex-1/builder.sh +++ /dev/null @@ -1,9 +0,0 @@ -source $stdenv/setup - -PATH=$perl/bin:$PATH - -tar xvfz $src -cd hello-* -./configure --prefix=$out -make -make install diff --git a/pkgs/applications/misc/hello/ex-1/default.nix b/pkgs/applications/misc/hello/ex-1/default.nix deleted file mode 100644 index 51b2ccb58ed..00000000000 --- a/pkgs/applications/misc/hello/ex-1/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{stdenv, fetchurl, perl}: - -stdenv.mkDerivation { - name = "hello-2.1.1"; - builder = ./builder.sh; - src = fetchurl { - url = mirror://gnu/hello/hello-2.1.1.tar.gz; - md5 = "70c9ccf9fac07f762c24f2df2290784d"; - }; - inherit perl; - - meta = { - description = "GNU Hello, a classic computer science tool"; - homepage = http://www.gnu.org/software/hello/; - }; -} diff --git a/pkgs/development/libraries/libgdata/0.6.nix b/pkgs/development/libraries/libgdata/0.6.nix deleted file mode 100644 index 4ce95505f8f..00000000000 --- a/pkgs/development/libraries/libgdata/0.6.nix +++ /dev/null @@ -1,51 +0,0 @@ -x@{builderDefsPackage - , glib, libsoup, libxml2, pkgconfig, intltool, perl - , libtasn1, nettle, gmp - , ...}: -builderDefsPackage -(a : -let - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ - []; - - buildInputs = map (n: builtins.getAttr n x) - (builtins.attrNames (builtins.removeAttrs x helperArgNames)); - sourceInfo = rec { - baseName="libgdata"; - majorVersion="0.6"; - minorVersion="6"; - version="${majorVersion}.${minorVersion}"; - name="${baseName}-${version}"; - url="mirror://gnome/sources/${baseName}/${majorVersion}/${name}.tar.bz2"; - hash="cf6de3b60443faaf8e9c3b4c4b160c22a48df7925c1c793a7bb71d3d746f69f5"; - }; -in -rec { - src = a.fetchurl { - url = sourceInfo.url; - sha256 = sourceInfo.hash; - }; - - inherit (sourceInfo) name version; - inherit buildInputs; - - /* doConfigure should be removed if not needed */ - phaseNames = ["doConfigure" "doMakeInstall"]; - - meta = { - description = "GData API library"; - maintainers = with a.lib.maintainers; - [ - raskin - ]; - platforms = with a.lib.platforms; - linux; - license = a.lib.licenses.lgpl21Plus; - }; - passthru = { - updateInfo = { - downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/${sourceInfo.baseName}/${sourceInfo.majorVersion}"; - }; - }; -}) x - diff --git a/pkgs/development/libraries/libkolab/default.nix b/pkgs/development/libraries/libkolab/default.nix deleted file mode 100644 index 3475b22d26d..00000000000 --- a/pkgs/development/libraries/libkolab/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ stdenv, fetchurl, - cmake, qt4, clucene_core, librdf_redland, libiodbc -, pkgconfig }: - -stdenv.mkDerivation rec { - name = "libkolab-0.4.2"; - - src = fetchurl { - url = "http://mirror.kolabsys.com/pub/releases/${name}.tar.gz"; - sha256 = "1wdbg42s14p472dn35n6z638i6n64f6mjjxmjam1r54pzsdykks6"; - }; - - # We disable the Java backend, since we do not need them and they make the closure size much bigger -# buildInputs = [ qt4 clucene_core librdf_redland libiodbc ]; - - nativeBuildInputs = [ cmake ]; - - meta = { - homepage = http://soprano.sourceforge.net/; - description = "An object-oriented C++/Qt4 framework for RDF data"; - license = "LGPL"; - maintainers = with stdenv.lib.maintainers; [ phreedo ]; - inherit (qt4.meta) platforms; - }; -} diff --git a/pkgs/development/libraries/libkolabxml/default.nix b/pkgs/development/libraries/libkolabxml/default.nix deleted file mode 100644 index c0217abd786..00000000000 --- a/pkgs/development/libraries/libkolabxml/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ stdenv, fetchurl, boost, curl, cmake, xercesc, qt4 -#, qt4, clucene_core, librdf_redland, libiodbc -, pkgconfig }: - -stdenv.mkDerivation rec { - name = "libkolabxml-0.8.4"; - - src = fetchurl { - url = "http://mirror.kolabsys.com/pub/releases/${name}.tar.gz"; - sha256 = "08gdhimnrhizpbvddj7cyz4jwwxrx5a70vz29cy989qgym2vn72q"; - }; - - buildInputs = [ boost curl xercesc ]; -# buildInputs = [ qt4 clucene_core librdf_redland libiodbc ]; - - nativeBuildInputs = [ cmake ]; - - meta = { - homepage = http://soprano.sourceforge.net/; - description = "An object-oriented C++/Qt4 framework for RDF data"; - license = "LGPL"; - maintainers = with stdenv.lib.maintainers; [ phreedo ]; - inherit (qt4.meta) platforms; - }; -} diff --git a/pkgs/development/libraries/libtidy/default.nix b/pkgs/development/libraries/libtidy/default.nix deleted file mode 100644 index 412f34008f1..00000000000 --- a/pkgs/development/libraries/libtidy/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv, lib, fetchcvs, cmake, libtool, automake, autoconf }: - -stdenv.mkDerivation rec { - name = "libtidy-${version}"; - - version = "1.46"; - - src = fetchcvs { - cvsRoot = ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy"; - module = "tidy"; - date = "2009-03-25"; - sha256 = "0bnxn1qgjx1pfyn2q4y24yj1gwqq5bxwf5ksjljqzqzrmjv3q46x"; - }; - - preConfigure = '' - source build/gnuauto/setup.sh - ''; - - buildInputs = [ libtool automake autoconf ]; - - meta = with lib; { - description = "Validate, correct, and pretty-print HTML files"; - homepage = http://tidy.sourceforge.net; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ cstrahan ]; - }; -} diff --git a/pkgs/development/libraries/openexr_ctl/default.nix b/pkgs/development/libraries/openexr_ctl/default.nix deleted file mode 100644 index cd26aae660c..00000000000 --- a/pkgs/development/libraries/openexr_ctl/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ stdenv, fetchurl, openexr, ilmbase, ctl }: - -stdenv.mkDerivation { - name = "openexr_ctl-1.0.1"; - - src = fetchurl { - url = mirror://sourceforge/ampasctl/openexr_ctl-1.0.1.tar.gz; - sha256 = "1jg9smpaplal8l14djp184wzk11nwd3dvm4lhkp69kjgw8jdd21d"; - }; - - propagatedBuildInputs = [ ilmbase ]; - - buildInputs = [ openexr ctl ]; - - configureFlags = "--with-ilmbase-prefix=${ilmbase}"; - - meta = { - description = "Color Transformation Language"; - homepage = http://ampasctl.sourceforge.net; - }; -} diff --git a/pkgs/development/libraries/pdf2htmlex/pdf2xml.patch b/pkgs/development/libraries/pdf2htmlex/pdf2xml.patch deleted file mode 100644 index 596a3aea674..00000000000 --- a/pkgs/development/libraries/pdf2htmlex/pdf2xml.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -rc pdf2xml/pdf2xml/Makefile.linux pdf2xml-new/pdf2xml/Makefile.linux -*** pdf2xml/Makefile.linux 2008-02-07 17:43:10.000000000 +0100 ---- pdf2xml-new/Makefile.linux 2010-08-25 15:41:23.000000000 +0200 -*************** -*** 30,36 **** - - - # Executable name -! PDFTOXMLEXE=pdftoxml.exe - - # Main target - all: pdftoxmlEXE ---- 30,36 ---- - - - # Executable name -! PDFTOXMLEXE=pdftoxml - - # Main target - all: pdftoxmlEXE -diff -rc pdf2xml/pdf2xml/src/pdftoxml.cc pdf2xml-new/pdf2xml/src/pdftoxml.cc -*** pdf2xml/src/pdftoxml.cc 2010-04-26 10:58:01.000000000 +0200 ---- pdf2xml-new/src/pdftoxml.cc 2010-08-25 15:36:15.000000000 +0200 -*************** -*** 11,21 **** - // - //=========================================================================== - - #include -- #include - #include - #include -! #include - #include "parseargs.h" - #include "GString.h" - #include "gmem.h" ---- 11,21 ---- - // - //=========================================================================== - -+ #include - #include - #include - #include -! #include - #include "parseargs.h" - #include "GString.h" - #include "gmem.h" diff --git a/pkgs/development/libraries/ruby_gpgme/default.nix b/pkgs/development/libraries/ruby_gpgme/default.nix deleted file mode 100644 index c5f2366bfa1..00000000000 --- a/pkgs/development/libraries/ruby_gpgme/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ stdenv, fetchurl, gpgme, ruby, rubygems, hoe }: - -stdenv.mkDerivation { - name = "ruby-gpgme-1.0.8"; - - src = fetchurl { - url = "https://github.com/ueno/ruby-gpgme/archive/1.0.8.tar.gz"; - sha256 = "1j7jkl9s8iqcmxf3x6c9kljm19hw1jg6yvwbndmkw43qacdr9nxb"; - }; - - meta = { - description = '' - Ruby-GPGME is a Ruby language binding of GPGME (GnuPG Made - Easy) - ''; - homepage = "http://rubyforge.org/projects/ruby-gpgme/"; - longDescription = '' - Ruby-GPGME is a Ruby language binding of GPGME (GnuPG Made Easy). - - GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG - easier for applications. It provides a High-Level Crypto API for - encryption, decryption, signing, signature verification and key - management. - ''; - }; - - buildInputs = [ gpgme rubygems hoe ruby ]; - - buildPhase = '' - ${ruby}/bin/ruby extconf.rb - rake gem - ''; - - installPhase = '' - export HOME=$TMP/home; mkdir -pv "$HOME" - - # For some reason, the installation phase doesn't work with the default - # make install command run by gem (we'll fix it and do it ourselves later) - gem install --no-verbose --install-dir "$out/${ruby.gemPath}" \ - --bindir "$out/bin" --no-rdoc --no-ri pkg/gpgme-1.0.8.gem || true - - # Create a bare-bones gemspec file so that ruby will recognise the gem - cat <"$out/${ruby.gemPath}/specifications/gpgme.gemspec" - Gem::Specification.new do |s| - s.name = 'gpgme' - s.version = '1.0.8' - s.files = Dir['{lib,examples}/**/*'] - s.rubyforge_project = 'ruby-gpgme' - s.require_paths = ['lib'] - end - EOF - - cd "$out/${ruby.gemPath}/gems/gpgme-1.0.8" - mkdir src - mv lib src - sed -i "s/srcdir = ./srcdir = src/" Makefile - make install - - mv lib lib.bak - mv src/lib lib - rmdir src - ''; -} - diff --git a/pkgs/development/libraries/ruby_ncursesw_sup/default.nix b/pkgs/development/libraries/ruby_ncursesw_sup/default.nix deleted file mode 100644 index 8d55bafeb20..00000000000 --- a/pkgs/development/libraries/ruby_ncursesw_sup/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ stdenv, fetchurl, ncurses, ruby, rubygems }: - -stdenv.mkDerivation rec { - name = "ncursesw-sup-${version}"; - version = "1.4.6"; - - src = fetchurl { - url = "https://github.com/sup-heliotrope/ncursesw-ruby/archive/v${version}.tar.gz"; - sha256 = "1fzmj5kqh2aql7r7jys8cyf7mb78kz71yc4a6gh74h9s8pybyhh7"; - }; - - meta = { - description = '' - Hacked up version of ncurses gem that supports wide characters for - supmua.org - ''; - homepage = ''http://github.com/sup-heliotrope/ncursesw-ruby''; - longDescription = '' - This wrapper provides access to the functions, macros, global variables - and constants of the ncurses library. These are mapped to a Ruby Module - named "Ncurses": Functions and external variables are implemented as - singleton functions of the Module Ncurses. - ''; - }; - - buildInputs = [ ncurses rubygems ]; - - buildPhase = "gem build ncursesw.gemspec"; - - installPhase = '' - export HOME=$TMP/home; mkdir -pv "$HOME" - - # For some reason, the installation phase doesn't work with the default - # make install command run by gem (we'll fix it and do it ourselves later) - gem install --no-verbose --install-dir "$out/${ruby.gemPath}" \ - --bindir "$out/bin" --no-rdoc --no-ri ncursesw-${version}.gem || true - - # Needed for ruby to recognise the gem - cp ncursesw.gemspec "$out/${ruby.gemPath}/specifications" - - cd "$out/${ruby.gemPath}/gems/ncursesw-${version}" - mkdir src - mv lib src - sed -i "s/srcdir = ./srcdir = src/" Makefile - make install - ''; -} - -- cgit 1.4.1