* Sync with the trunk.
svn path=/nixpkgs/branches/x-updates/; revision=26141
This commit is contained in:
commit
eb4b1e8b04
@ -478,8 +478,14 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
(throw 'ftp-error conn "LIST" code)))))
|
(throw 'ftp-error conn "LIST" code)))))
|
||||||
(else
|
(else
|
||||||
(loop (read-line s)
|
(loop (read-line s)
|
||||||
(let ((file (car (reverse (string-tokenize line)))))
|
(match (reverse (string-tokenize line))
|
||||||
(cons file result)))))))
|
((file _ ... permissions)
|
||||||
|
(let ((type (case (string-ref permissions 0)
|
||||||
|
((#\d) 'directory)
|
||||||
|
(else 'file))))
|
||||||
|
(cons (list file type) result)))
|
||||||
|
((file _ ...)
|
||||||
|
(cons (cons file 'file) result))))))))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(close s)
|
(close s)
|
||||||
(let-values (((code message) (%ftp-listen (ftp-connection-socket conn))))
|
(let-values (((code message) (%ftp-listen (ftp-connection-socket conn))))
|
||||||
@ -498,7 +504,6 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
"automake17x"
|
"automake17x"
|
||||||
"automake19x"
|
"automake19x"
|
||||||
"automake110x"
|
"automake110x"
|
||||||
"automake" ;; = 1.10.x
|
|
||||||
"bison1875"
|
"bison1875"
|
||||||
"bison23"
|
"bison23"
|
||||||
"bison" ;; = 2.3
|
"bison" ;; = 2.3
|
||||||
@ -516,7 +521,10 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
"glibc25"
|
"glibc25"
|
||||||
"glibc27"
|
"glibc27"
|
||||||
"glibc29"
|
"glibc29"
|
||||||
"guile_1_9"
|
"guile_1_8"
|
||||||
|
"icecat3Xul" ;; redundant with `icecat'
|
||||||
|
"icecatWrapper"
|
||||||
|
"icecatXulrunner3"
|
||||||
))
|
))
|
||||||
|
|
||||||
(define (gnu? package)
|
(define (gnu? package)
|
||||||
@ -567,8 +575,9 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
("gnu-ghostscript" "ftp.gnu.org" "/gnu/ghostscript" #f)
|
("gnu-ghostscript" "ftp.gnu.org" "/gnu/ghostscript" #f)
|
||||||
("grub" "alpha.gnu.org" "/gnu" #t)
|
("grub" "alpha.gnu.org" "/gnu" #t)
|
||||||
("GNUnet" "ftp.gnu.org" "/gnu/gnunet" #f)
|
("GNUnet" "ftp.gnu.org" "/gnu/gnunet" #f)
|
||||||
("mit-scheme" "ftp.gnu.org" "/gnu/mit-scheme/stable.pkg")
|
("mit-scheme" "ftp.gnu.org" "/gnu/mit-scheme/stable.pkg" #f)
|
||||||
("icecat" "ftp.gnu.org" "/gnu/gnuzilla" #f)
|
("icecat" "ftp.gnu.org" "/gnu/gnuzilla" #f)
|
||||||
|
("source-highlight" "ftp.gnu.org" "/gnu/src-highlite" #f)
|
||||||
("TeXmacs" "ftp.texmacs.org" "/TeXmacs/targz" #f)))
|
("TeXmacs" "ftp.texmacs.org" "/TeXmacs/targz" #f)))
|
||||||
|
|
||||||
(let ((quirk (assoc project quirks)))
|
(let ((quirk (assoc project quirks)))
|
||||||
@ -596,31 +605,62 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
(or (assoc-ref quirks project) project))
|
(or (assoc-ref quirks project) project))
|
||||||
|
|
||||||
(define (releases project)
|
(define (releases project)
|
||||||
;; TODO: Handle project release trees like that of IceCat and MyServer.
|
"Return the list of releases of PROJECT as a list of release name/directory
|
||||||
|
pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\"). "
|
||||||
;; TODO: Parse something like fencepost.gnu.org:/gd/gnuorg/packages-ftp.
|
;; TODO: Parse something like fencepost.gnu.org:/gd/gnuorg/packages-ftp.
|
||||||
(define release-rx
|
(define release-rx
|
||||||
(make-regexp (string-append "^" project "-[0-9].*\\.tar\\.")))
|
(make-regexp (string-append "^" project
|
||||||
|
"-([0-9]|[^-])*(-src)?\\.tar\\.")))
|
||||||
|
|
||||||
(catch #t
|
(define alpha-rx
|
||||||
(lambda ()
|
(make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|cvs|svn|git)-?[0-9\\.]*\\.tar\\."))
|
||||||
(let-values (((server directory) (ftp-server/directory project)))
|
|
||||||
(let* ((conn (ftp-open server))
|
(define (sans-extension tarball)
|
||||||
(files (ftp-list conn directory)))
|
|
||||||
(ftp-close conn)
|
|
||||||
(map (lambda (tarball)
|
|
||||||
(let ((end (string-contains tarball ".tar")))
|
(let ((end (string-contains tarball ".tar")))
|
||||||
(substring tarball 0 end)))
|
(substring tarball 0 end)))
|
||||||
|
|
||||||
|
(catch 'ftp-error
|
||||||
|
(lambda ()
|
||||||
|
(let-values (((server directory) (ftp-server/directory project)))
|
||||||
|
(define conn (ftp-open server))
|
||||||
|
|
||||||
|
(let loop ((directories (list directory))
|
||||||
|
(result '()))
|
||||||
|
(if (null? directories)
|
||||||
|
(begin
|
||||||
|
(ftp-close conn)
|
||||||
|
result)
|
||||||
|
(let* ((directory (car directories))
|
||||||
|
(files (ftp-list conn directory))
|
||||||
|
(subdirs (filter-map (lambda (file)
|
||||||
|
(match file
|
||||||
|
((name 'directory . _) name)
|
||||||
|
(_ #f)))
|
||||||
|
files)))
|
||||||
|
(loop (append (map (cut string-append directory "/" <>)
|
||||||
|
subdirs)
|
||||||
|
(cdr directories))
|
||||||
|
(append
|
||||||
;; Filter out signatures, deltas, and files which are potentially
|
;; Filter out signatures, deltas, and files which are potentially
|
||||||
;; not releases of PROJECT (e.g., in /gnu/guile, filter out
|
;; not releases of PROJECT (e.g., in /gnu/guile, filter out
|
||||||
;; guile-oops and guile-www).
|
;; guile-oops and guile-www; in mit-scheme, filter out
|
||||||
(filter (lambda (file)
|
;; binaries).
|
||||||
|
(filter-map (lambda (file)
|
||||||
|
(match file
|
||||||
|
((file 'file . _)
|
||||||
(and (not (string-suffix? ".sig" file))
|
(and (not (string-suffix? ".sig" file))
|
||||||
(regexp-exec release-rx file)))
|
(regexp-exec release-rx file)
|
||||||
files)))))
|
(not (regexp-exec alpha-rx file))
|
||||||
|
(let ((s (sans-extension file)))
|
||||||
|
(and (regexp-exec
|
||||||
|
%package-name-rx s)
|
||||||
|
(cons s directory)))))
|
||||||
|
(_ #f)))
|
||||||
|
files)
|
||||||
|
result)))))))
|
||||||
(lambda (key subr message . args)
|
(lambda (key subr message . args)
|
||||||
(format (current-error-port)
|
(format (current-error-port)
|
||||||
"failed to get release list for `~A': ~A ~A~%"
|
"failed to get release list for `~A': ~S ~S~%"
|
||||||
project message args)
|
project message args)
|
||||||
'())))
|
'())))
|
||||||
|
|
||||||
@ -633,53 +673,64 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
(> (strverscmp (string->pointer a) (string->pointer b)) 0))))
|
(> (strverscmp (string->pointer a) (string->pointer b)) 0))))
|
||||||
|
|
||||||
(define (latest-release project)
|
(define (latest-release project)
|
||||||
;; Return "FOO-X.Y" or #f.
|
"Return (\"FOO-X.Y\" . \"/bar/foo\") or #f."
|
||||||
(let ((releases (releases project)))
|
(let ((releases (releases project)))
|
||||||
(and (not (null? releases))
|
(and (not (null? releases))
|
||||||
(fold (lambda (release latest)
|
(fold (lambda (release latest)
|
||||||
(if (version-string>? release latest)
|
(if (version-string>? (car release) (car latest))
|
||||||
release
|
release
|
||||||
latest))
|
latest))
|
||||||
""
|
'("" . "")
|
||||||
releases))))
|
releases))))
|
||||||
|
|
||||||
|
(define %package-name-rx
|
||||||
|
;; Regexp for a package name, e.g., "foo-X.Y". Since TeXmacs uses
|
||||||
|
;; "TeXmacs-X.Y-src", the `-src' suffix is allowed.
|
||||||
|
(make-regexp "^(.*)-(([0-9]|\\.)+)(-src)?"))
|
||||||
|
|
||||||
(define (package/version name+version)
|
(define (package/version name+version)
|
||||||
(let ((hyphen (string-rindex name+version #\-)))
|
"Return the package name and version number extracted from NAME+VERSION."
|
||||||
(if (not hyphen)
|
(let ((match (regexp-exec %package-name-rx name+version)))
|
||||||
|
(if (not match)
|
||||||
(values name+version #f)
|
(values name+version #f)
|
||||||
(let ((name (substring name+version 0 hyphen))
|
(values (match:substring match 1) (match:substring match 2)))))
|
||||||
(version (substring name+version (+ hyphen 1)
|
|
||||||
(string-length name+version))))
|
|
||||||
(values name version)))))
|
|
||||||
|
|
||||||
(define (file-extension file)
|
(define (file-extension file)
|
||||||
(let ((dot (string-rindex file #\.)))
|
(let ((dot (string-rindex file #\.)))
|
||||||
(and dot (substring file (+ 1 dot) (string-length file)))))
|
(and dot (substring file (+ 1 dot) (string-length file)))))
|
||||||
|
|
||||||
(define (packages-to-update gnu-packages)
|
(define (packages-to-update gnu-packages)
|
||||||
|
(define (unpack latest)
|
||||||
|
(call-with-values (lambda ()
|
||||||
|
(package/version (car latest)))
|
||||||
|
(lambda (name version)
|
||||||
|
(list name version (cdr latest)))))
|
||||||
|
|
||||||
(fold (lambda (pkg result)
|
(fold (lambda (pkg result)
|
||||||
(call-with-package pkg
|
(call-with-package pkg
|
||||||
(lambda (attribute name+version location meta src)
|
(lambda (attribute name+version location meta src)
|
||||||
(let-values (((name old-version)
|
(let-values (((name old-version)
|
||||||
(package/version name+version)))
|
(package/version name+version)))
|
||||||
(let ((latest (latest-release (nixpkgs->gnu-name name))))
|
(let ((latest (latest-release (nixpkgs->gnu-name name))))
|
||||||
(cond ((not latest)
|
(if (not latest)
|
||||||
|
(begin
|
||||||
(format #t "~A [unknown latest version]~%"
|
(format #t "~A [unknown latest version]~%"
|
||||||
name+version)
|
name+version)
|
||||||
result)
|
result)
|
||||||
((string=? name+version latest)
|
(match (unpack latest)
|
||||||
|
((_ (? (cut string=? old-version <>)) _)
|
||||||
(format #t "~A [up to date]~%" name+version)
|
(format #t "~A [up to date]~%" name+version)
|
||||||
result)
|
result)
|
||||||
(else
|
((project new-version directory)
|
||||||
(let-values (((project new-version)
|
(let-values (((old-name old-hash old-urls)
|
||||||
(package/version latest))
|
|
||||||
((old-name old-hash old-urls)
|
|
||||||
(src->values src)))
|
(src->values src)))
|
||||||
(format #t "~A -> ~A [~A]~%" name+version latest
|
(format #t "~A -> ~A [~A]~%"
|
||||||
|
name+version (car latest)
|
||||||
(and (pair? old-urls) (car old-urls)))
|
(and (pair? old-urls) (car old-urls)))
|
||||||
(let* ((url (and (pair? old-urls)
|
(let* ((url (and (pair? old-urls)
|
||||||
(car old-urls)))
|
(car old-urls)))
|
||||||
(new-hash (fetch-gnu project new-version
|
(new-hash (fetch-gnu project directory
|
||||||
|
new-version
|
||||||
(if url
|
(if url
|
||||||
(file-extension url)
|
(file-extension url)
|
||||||
"gz"))))
|
"gz"))))
|
||||||
@ -687,14 +738,13 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
old-version old-hash
|
old-version old-hash
|
||||||
new-version new-hash
|
new-version new-hash
|
||||||
location)
|
location)
|
||||||
result))))))))))
|
result)))))))))))
|
||||||
'()
|
'()
|
||||||
gnu-packages))
|
gnu-packages))
|
||||||
|
|
||||||
(define (fetch-gnu project version archive-type)
|
(define (fetch-gnu project directory version archive-type)
|
||||||
(let-values (((server directory)
|
(let* ((server (ftp-server/directory project))
|
||||||
(ftp-server/directory project)))
|
(base (string-append project "-" version ".tar." archive-type))
|
||||||
(let* ((base (string-append project "-" version ".tar." archive-type))
|
|
||||||
(url (string-append "ftp://" server "/" directory "/" base))
|
(url (string-append "ftp://" server "/" directory "/" base))
|
||||||
(sig (string-append base ".sig"))
|
(sig (string-append base ".sig"))
|
||||||
(sig-url (string-append url ".sig")))
|
(sig-url (string-append url ".sig")))
|
||||||
@ -719,7 +769,7 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
(begin
|
(begin
|
||||||
(format (current-error-port)
|
(format (current-error-port)
|
||||||
"no signature for `~a'~%" base)
|
"no signature for `~a'~%" base)
|
||||||
hash))))))))
|
hash)))))))
|
||||||
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
@ -822,3 +872,7 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
|
|||||||
(_ #f)))
|
(_ #f)))
|
||||||
updates)
|
updates)
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
|
;;; Local Variables:
|
||||||
|
;;; eval: (put 'call-with-package 'scheme-indent-function 1)
|
||||||
|
;;; End:
|
||||||
|
45
pkgs/applications/graphics/freecad/default.nix
Normal file
45
pkgs/applications/graphics/freecad/default.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{ fetchurl, stdenv, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts,
|
||||||
|
boost, zlib,
|
||||||
|
python, swig, gfortran, soqt, autoconf, automake, libtool }:
|
||||||
|
|
||||||
|
throw "It does not build still"
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "freecad-${version}";
|
||||||
|
version = "0.11.3729";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
/*
|
||||||
|
url = "mirror://sourceforge/free-cad/freecad-${version}.tar.gz";
|
||||||
|
sha256 = "0q9jhnhkjsq9iy4kqi4xh2ljack4b2jj4pjm4dylv4z2d9gg5p4l";
|
||||||
|
*/
|
||||||
|
url = "mirror://sourceforge/free-cad/freecad-${version}.dfsg.tar.gz";
|
||||||
|
sha256 = "0sjcbadzzgdjr5bk51nr3nq0siyvfdq0913dqlhv9xr42vha3j8r";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake coin3d xercesc ode eigen qt4 opencascade gts boost
|
||||||
|
zlib python swig gfortran soqt /*autoconf automake libtool*/ ];
|
||||||
|
|
||||||
|
/*
|
||||||
|
# Using autotools
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e 's/boost_\([a-z_]\+\)-mt/boost_\1/' \
|
||||||
|
configure
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags = [ "--with-eigen2-include=${eigen}/include/eigen2"
|
||||||
|
"--with-boost-include=${boost}/include"
|
||||||
|
"--with-boost-lib=${boost}/lib"
|
||||||
|
"--with-qt4-dir=${qt4}"
|
||||||
|
];
|
||||||
|
*/
|
||||||
|
|
||||||
|
# Using cmake
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e '/Idf/d' -e '/Start/d' src/Mod/CMakeLists.txt
|
||||||
|
'';
|
||||||
|
|
||||||
|
cmakeFlags = [ "-Wno-dev" ];
|
||||||
|
|
||||||
|
}
|
@ -8,17 +8,17 @@ assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" ;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "chrome-${version}";
|
name = "chrome-${version}";
|
||||||
version = "74731";
|
version = "75853";
|
||||||
src =
|
src =
|
||||||
if stdenv.system == "x86_64-linux" then
|
if stdenv.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://build.chromium.org/f/chromium/continuous/linux64/2011-02-12/${version}/chrome-linux.zip";
|
url = "http://build.chromium.org/f/chromium/continuous/linux64/2011-02-23/${version}/chrome-linux.zip";
|
||||||
sha256 = "1g1xi8l02mv53r7g3x6w93i0rqdx09k8x7bypm9g51w315k6yssj";
|
sha256 = "1bh507j1pm3qrkj8afzhmqicza5nms6f4dc9848xjgcvj9x2qii7";
|
||||||
}
|
}
|
||||||
else if stdenv.system == "i686-linux" then
|
else if stdenv.system == "i686-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://build.chromium.org/f/chromium/continuous/linux/2011-02-12/${version}/chrome-linux.zip";
|
url = "http://build.chromium.org/f/chromium/continuous/linux/2011-02-23/${version}/chrome-linux.zip";
|
||||||
sha256 = "163z2b7c7plf0ys18mj0g5ppkdfw9sr8i089hy2h7l0xscp18s11";
|
sha256 = "0rq888yvw5zsh0c3jnp115y4sl1q5kn4pz8flnwhrh35ca15lchn";
|
||||||
}
|
}
|
||||||
else throw "Chromium is not supported on this platform.";
|
else throw "Chromium is not supported on this platform.";
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
# http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 .
|
# http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 .
|
||||||
#assert stdenv.isLinux -> (wirelesstools != null);
|
#assert stdenv.isLinux -> (wirelesstools != null);
|
||||||
|
|
||||||
let version = "3.6.9"; in
|
let version = "3.6.13"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "icecat-${version}";
|
name = "icecat-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz";
|
url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz";
|
||||||
sha256 = "041rdhhcaak0w0lg0wd1fdl9vlk9a466sh6y17dfz389nswyy8wr";
|
sha256 = "0lnpny34sryi55clwcnn80ya7124ips11y18ba36bc2sqwiniigb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
31
pkgs/applications/networking/esniper/default.nix
Normal file
31
pkgs/applications/networking/esniper/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchurl, openssl, curl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
name = "esniper";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "${name}-2.24.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/${name}/${name}-2-24-0.tgz";
|
||||||
|
sha256 = "0h3nlw64x2dczfd4nmz890pk9372iwfzwyyb8zyhiaymb34z5c52";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [openssl curl];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
sed -e "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
|
||||||
|
chmod 555 "$out/bin/snipe"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simple, lightweight tool for sniping eBay auctions";
|
||||||
|
homepage = "http://esnipe.rsourceforge.net";
|
||||||
|
license = "GPLv2";
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
let
|
let
|
||||||
|
|
||||||
pname = "ledger";
|
pname = "ledger";
|
||||||
version = "2.6.1";
|
version = "2.6.3";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -14,8 +14,8 @@ stdenv.mkDerivation {
|
|||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
url = "https://github.com/downloads/jwiegley/ledger/ledger-${version}.tar.gz";
|
||||||
sha256 = "96830d77d3aa6bf6c5778f5dd52169f9b5203fb7daad0e12831abeb35b14f27a";
|
sha256 = "05zpnypcwgck7lwk00pbdlcwa347xsqifxh4zsbbn01m98bx1v5k";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs gmp pcre ];
|
buildInputs = [ emacs gmp pcre ];
|
||||||
|
@ -12,11 +12,11 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "git-1.7.4";
|
name = "git-1.7.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
|
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
|
||||||
sha256 = "0lggpkna2icrfwh2iysb4pgx3d5b5l64bnz34rgs6ipvbng0n9lf";
|
sha256 = "06ydc1dr8ndiqc7rkh0xxiffyfq22gwfdzdds7cbqsprr30szic5";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./docbook2texi.patch ];
|
patches = [ ./docbook2texi.patch ];
|
||||||
|
@ -19,12 +19,21 @@ rec {
|
|||||||
inherit (s) name;
|
inherit (s) name;
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
|
||||||
phaseNames = ["prepare_sgneeds" "dump0" "prepareMakefiles" "doMake" "doDeploy"];
|
phaseNames = ["prepare_sgneeds" "dump0" "prepareMakefiles" "doMake" "doTest" "doDeploy"];
|
||||||
|
|
||||||
dump0 = (a.doDump "0");
|
dump0 = (a.doDump "0");
|
||||||
|
|
||||||
|
doTest = a.fullDepEntry ''
|
||||||
|
sed -e "s@/bin/bash@${a.stdenv.shell}@" -i $(find .. -type f)
|
||||||
|
mkdir pseudo-home
|
||||||
|
export HOME=$PWD/pseudo-home
|
||||||
|
echo make test
|
||||||
|
'' ["doMake" "minInit"];
|
||||||
|
|
||||||
prepare_sgneeds = a.fullDepEntry (''
|
prepare_sgneeds = a.fullDepEntry (''
|
||||||
|
ensureDir "$out/sgneeds/include/spidermonkey"
|
||||||
for d in bin include lib; do
|
for d in bin include lib; do
|
||||||
|
ensureDir "$out/sgneeds/$d"
|
||||||
ensureDir "$out/sgneeds/$d"
|
ensureDir "$out/sgneeds/$d"
|
||||||
for p in "${spidermonkey_1_8_0rc1}"; do
|
for p in "${spidermonkey_1_8_0rc1}"; do
|
||||||
for f in "$p"/"$d"/*; do
|
for f in "$p"/"$d"/*; do
|
||||||
@ -32,6 +41,11 @@ rec {
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
for p in "${spidermonkey_1_8_0rc1}/include" "${spidermonkey_1_8_0rc1}/include/js"; do
|
||||||
|
for f in "$p"/*; do
|
||||||
|
ln -sf "$f" "$out"/sgneeds/include/spidermonkey/
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
ensureDir "$out/sgneeds/include/sgbrings"
|
ensureDir "$out/sgneeds/include/sgbrings"
|
||||||
ln -s "$out/sgneeds/include/js" "$out/sgneeds/include/sgbrings/js"
|
ln -s "$out/sgneeds/include/js" "$out/sgneeds/include/sgbrings/js"
|
||||||
@ -41,6 +55,9 @@ rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
export SGNEEDS_DIR="$out"/sgneeds/
|
export SGNEEDS_DIR="$out"/sgneeds/
|
||||||
|
export VVTHIRDPARTY="$out"/sgneeds/
|
||||||
|
|
||||||
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$out/sgneeds/include"
|
||||||
'') ["minInit" "defEnsureDir"];
|
'') ["minInit" "defEnsureDir"];
|
||||||
|
|
||||||
prepareMakefiles = a.fullDepEntry ''
|
prepareMakefiles = a.fullDepEntry ''
|
||||||
@ -48,7 +65,7 @@ rec {
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lssl"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lssl"
|
||||||
cmake -G "Unix Makefiles" -D SGNEEDS_DIR="$SGNEEDS_DIR" ../veracity*
|
cmake -G "Unix Makefiles" -D SGNEEDS_DIR="$SGNEEDS_DIR" -D VVTHIRDPARTY="$VVTHIRDPARTY" -D SPIDERMONKEY_INCDIR="${a.spidermonkey_1_8_0rc1}/include" -D SPIDERMONKEY_LIB="${a.spidermonkey_1_8_0rc1}/lib/libjs.so" ../veracity*
|
||||||
'' ["minInit" "addInputs" "doUnpack"];
|
'' ["minInit" "addInputs" "doUnpack"];
|
||||||
|
|
||||||
doDeploy = a.fullDepEntry ''
|
doDeploy = a.fullDepEntry ''
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
rec {
|
rec {
|
||||||
version="0.5.7.10383";
|
version="0.5.7.10397";
|
||||||
name="veracity-0.5.7.10383";
|
name="veracity-0.5.7.10397";
|
||||||
hash="1826zr2nwd6qknvv6mw7a2x93fwi4wpabfq4ijy6am3cl55hdy51";
|
hash="09w1qj4wklaf7mw0vavzyqpagcd0cwqppdl8vaqqi0irddgivnq8";
|
||||||
url="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-${version}.tar.gz";
|
url="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-${version}.tar.gz";
|
||||||
advertisedUrl="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-0.5.7.10383.tar.gz";
|
advertisedUrl="http://download-us.sourcegear.com/Veracity/nightly/veracity-source-0.5.7.10397.tar.gz";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -218,7 +218,7 @@ rec {
|
|||||||
-net nic,model=virtio \
|
-net nic,model=virtio \
|
||||||
-chardev socket,id=samba,path=./samba \
|
-chardev socket,id=samba,path=./samba \
|
||||||
-net user,guestfwd=tcp:10.0.2.4:445-chardev:samba \
|
-net user,guestfwd=tcp:10.0.2.4:445-chardev:samba \
|
||||||
-drive file=$diskImage,if=virtio,boot=on,cache=writeback,werror=report \
|
-drive file=$diskImage,if=virtio,cache=writeback,werror=report \
|
||||||
-kernel ${kernel}/${img} \
|
-kernel ${kernel}/${img} \
|
||||||
-initrd ${initrd}/initrd \
|
-initrd ${initrd}/initrd \
|
||||||
-append "console=ttyS0 panic=1 command=${stage2Init} tmpDir=$TMPDIR out=$out mountDisk=$mountDisk" \
|
-append "console=ttyS0 panic=1 command=${stage2Init} tmpDir=$TMPDIR out=$out mountDisk=$mountDisk" \
|
||||||
|
@ -33,18 +33,12 @@ recurseIntoAttrs rec {
|
|||||||
|
|
||||||
attica = callPackage ./support/attica { };
|
attica = callPackage ./support/attica { };
|
||||||
|
|
||||||
eigen = callPackage ./support/eigen { };
|
|
||||||
|
|
||||||
oxygen_icons = callPackage ./support/oxygen-icons { };
|
oxygen_icons = callPackage ./support/oxygen-icons { };
|
||||||
|
|
||||||
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
||||||
|
|
||||||
strigi = callPackage ./support/strigi { };
|
|
||||||
|
|
||||||
soprano = callPackage ./support/soprano { };
|
soprano = callPackage ./support/soprano { };
|
||||||
|
|
||||||
qimageblitz = callPackage ./support/qimageblitz { };
|
|
||||||
|
|
||||||
### LIBS
|
### LIBS
|
||||||
kdelibs = callPackage ./libs { };
|
kdelibs = callPackage ./libs { };
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
{stdenv, fetchurl, cmake}:
|
|
||||||
|
|
||||||
let
|
|
||||||
v = "2.0.15";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "eigen-${v}";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
|
||||||
name = "eigen-${v}.tar.bz2";
|
|
||||||
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
|
|
||||||
};
|
|
||||||
buildInputs = [ cmake ];
|
|
||||||
meta = {
|
|
||||||
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
||||||
license = "LGPL";
|
|
||||||
homepage = http://eigen.tuxfamily.org ;
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -32,18 +32,12 @@ rec {
|
|||||||
|
|
||||||
attica = callPackage ./support/attica { };
|
attica = callPackage ./support/attica { };
|
||||||
|
|
||||||
eigen = callPackage ./support/eigen { };
|
|
||||||
|
|
||||||
oxygen_icons = callPackage ./oxygen-icons { };
|
oxygen_icons = callPackage ./oxygen-icons { };
|
||||||
|
|
||||||
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
||||||
|
|
||||||
strigi = callPackage ./support/strigi { };
|
|
||||||
|
|
||||||
soprano = callPackage ./support/soprano { };
|
soprano = callPackage ./support/soprano { };
|
||||||
|
|
||||||
qimageblitz = callPackage ./support/qimageblitz { };
|
|
||||||
|
|
||||||
### LIBS
|
### LIBS
|
||||||
kdelibs = callPackage ./libs { };
|
kdelibs = callPackage ./libs { };
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
{stdenv, fetchurl, cmake}:
|
|
||||||
|
|
||||||
let
|
|
||||||
v = "2.0.15";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "eigen-${v}";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
|
||||||
name = "eigen-${v}.tar.bz2";
|
|
||||||
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
|
|
||||||
};
|
|
||||||
buildInputs = [ cmake ];
|
|
||||||
meta = {
|
|
||||||
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
||||||
license = "LGPL";
|
|
||||||
homepage = http://eigen.tuxfamily.org ;
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
{stdenv, fetchurl, lib, cmake, qt4}:
|
|
||||||
|
|
||||||
let
|
|
||||||
pn = "qimageblitz";
|
|
||||||
v = "0.0.4";
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "${pn}-${v}";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://sf/${pn}/${pn}-${v}.tar.bz2";
|
|
||||||
sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9";
|
|
||||||
};
|
|
||||||
buildInputs = [ cmake qt4 ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Graphical effect and filter library for KDE4";
|
|
||||||
license = "BSD";
|
|
||||||
homepage = "http://${pn}.sourceforge.net";
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
{ stdenv, fetchurl, cmake, qt4, perl, bzip2, libxml2, expat, exiv2
|
|
||||||
, cluceneCore
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "strigi-${version}";
|
|
||||||
version = "0.7.2";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://www.vandenoever.info/software/strigi/${name}.tar.bz2";
|
|
||||||
sha256 = "1f1ac27cjm5m4iwsgvd7nylr0md0a95przkbpsdq7l90wjxj390w";
|
|
||||||
};
|
|
||||||
includeAllQtDirs=true;
|
|
||||||
|
|
||||||
CLUCENE_HOME = cluceneCore;
|
|
||||||
|
|
||||||
# Dependencies such as SQLite and FAM are unreliable in this release
|
|
||||||
buildInputs = [
|
|
||||||
cmake perl qt4 bzip2 stdenv.gcc.libc libxml2 expat exiv2 cluceneCore
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://strigi.sourceforge.net;
|
|
||||||
description = "A very fast and efficient crawler to index data on your harddrive";
|
|
||||||
license = "LGPL";
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
||||||
inherit (qt4.meta) platforms;
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,7 +1,8 @@
|
|||||||
{stdenv, fetchurl, ghc, perl, gmp, ncurses}:
|
{stdenv, fetchurl, ghc, perl, gmp, ncurses}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.13.20100917";
|
version = "7.0.1.20110217";
|
||||||
|
label = "7.0.2-rc2";
|
||||||
|
|
||||||
name = "ghc-${version}";
|
name = "ghc-${version}";
|
||||||
|
|
||||||
@ -9,8 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "http://haskell.org/ghc";
|
homepage = "http://haskell.org/ghc";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${homepage}/dist/current/dist/${name}-src.tar.bz2";
|
url = "${homepage}/dist/${label}/${name}-src.tar.bz2";
|
||||||
sha256 = "0b5pg6688yfzd5zfaffjp21y933vp94h94ds85gwi156f4g3bkij";
|
sha256 = "18jbw5na4v8v2vzswbi8xfd73mx8zv1diym0bg5bns5337q76lzi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ghc perl gmp ncurses];
|
buildInputs = [ghc perl gmp ncurses];
|
||||||
@ -42,43 +43,4 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: requires a comment as to what it does and why it is needed.
|
|
||||||
passthru = {
|
|
||||||
corePackages = [
|
|
||||||
[ "Cabal" "1.8.0.2" ]
|
|
||||||
[ "array" "0.3.0.0" ]
|
|
||||||
[ "base" "3.0.3.2" ]
|
|
||||||
[ "base" "4.2.0.0" ]
|
|
||||||
[ "bin-package-db" "0.0.0.0" ]
|
|
||||||
[ "bytestring" "0.9.1.5" ]
|
|
||||||
[ "containers" "0.3.0.0" ]
|
|
||||||
[ "directory" "1.0.1.0" ]
|
|
||||||
[ "dph-base" "0.4.0" ]
|
|
||||||
[ "dph-par" "0.4.0" ]
|
|
||||||
[ "dph-prim-interface" "0.4.0" ]
|
|
||||||
[ "dph-prim-par" "0.4.0" ]
|
|
||||||
[ "dph-prim-seq" "0.4.0" ]
|
|
||||||
[ "dph-seq" "0.4.0" ]
|
|
||||||
[ "extensible-exceptions" "0.1.1.1" ]
|
|
||||||
[ "ffi" "1.0" ]
|
|
||||||
[ "filepath" "1.1.0.3" ]
|
|
||||||
[ "ghc" "6.12.1" ]
|
|
||||||
[ "ghc-binary" "0.5.0.2" ]
|
|
||||||
[ "ghc-prim" "0.2.0.0" ]
|
|
||||||
[ "haskell98" "1.0.1.1" ]
|
|
||||||
[ "hpc" "0.5.0.4" ]
|
|
||||||
[ "integer-gmp" "0.2.0.0" ]
|
|
||||||
[ "old-locale" "1.0.0.2" ]
|
|
||||||
[ "old-time" "1.0.0.3" ]
|
|
||||||
[ "pretty" "1.0.1.1" ]
|
|
||||||
[ "process" "1.0.1.2" ]
|
|
||||||
[ "random" "1.0.0.2" ]
|
|
||||||
[ "rts" "1.0" ]
|
|
||||||
[ "syb" "0.1.0.2" ]
|
|
||||||
[ "template-haskell" "2.4.0.0" ]
|
|
||||||
[ "time" "1.1.4" ]
|
|
||||||
[ "unix" "2.4.0.0" ]
|
|
||||||
[ "utf8-string" "0.3.4" ]
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
rec {
|
rec {
|
||||||
version="1.0.45";
|
version="1.0.46";
|
||||||
name="sbcl-1.0.45";
|
name="sbcl-1.0.46";
|
||||||
hash="1asl4qy2mizj239cmgnw2dza03h7j3ysrkdavc5gnv9y4gn9miyi";
|
hash="1sdm0gf9vajk65hn07xl0j084fkk7rsjrpqk8sa8183gbkgag79n";
|
||||||
url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.45/sbcl-1.0.45-source.tar.bz2";
|
url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.46/sbcl-1.0.46-source.tar.bz2";
|
||||||
advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.45/sbcl-1.0.45-source.tar.bz2";
|
advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.46/sbcl-1.0.46-source.tar.bz2";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
22
pkgs/development/libraries/coin3d/default.nix
Normal file
22
pkgs/development/libraries/coin3d/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ fetchurl, stdenv, mesa }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "coin3d-${version}";
|
||||||
|
version = "3.1.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ftp.coin3d.org/coin/src/all/Coin-${version}.tar.gz";
|
||||||
|
sha256 = "05ylhrcglm81dajbk132l1w892634z2i97x10fm64y1ih72phd2q";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mesa ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.coin3d.org/;
|
||||||
|
license = "GPLv2+";
|
||||||
|
description = "High-level, retained-mode toolkit for effective 3D graphics development.";
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1,49 +1,20 @@
|
|||||||
x@{builderDefsPackage
|
{stdenv, fetchurl, cmake}:
|
||||||
, cmake
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
let
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
v = "2.0.15";
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="eigen";
|
|
||||||
version="2.0.15";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
ext="tar.bz2";
|
|
||||||
project="${baseName}";
|
|
||||||
url="http://bitbucket.org/${project}/${baseName}/get/${version}.${ext}";
|
|
||||||
hash="c68509b80ec2570d025a98e6c4279062b801593c5165ba3d683852e7dbff1569";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
stdenv.mkDerivation {
|
||||||
src = a.fetchurl {
|
name = "eigen-${v}";
|
||||||
url = sourceInfo.url;
|
src = fetchurl {
|
||||||
sha256 = sourceInfo.hash;
|
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
||||||
name="${sourceInfo.name}.${sourceInfo.ext}";
|
name = "eigen-${v}.tar.bz2";
|
||||||
|
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
|
||||||
};
|
};
|
||||||
|
buildNativeInputs = [ cmake ];
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
phaseNames = ["doCmake" "doMakeInstall"];
|
homepage = http://eigen.tuxfamily.org ;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
|
||||||
meta = {
|
|
||||||
description = "A C++ linear algebra template header";
|
|
||||||
maintainers = with a.lib.maintainers;
|
|
||||||
[
|
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.lgpl3Plus;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://eigen.tuxfamily.org/index.php?title=Main_Page";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
28
pkgs/development/libraries/gts/default.nix
Normal file
28
pkgs/development/libraries/gts/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ fetchurl, stdenv, glib, pkgconfig }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gts-${version}";
|
||||||
|
version = "0.7.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/gts/${name}.tar.gz";
|
||||||
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ glib pkgconfig ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://gts.sourceforge.net/;
|
||||||
|
license = "LGPLv2+";
|
||||||
|
description = "GNU Triangulated Surface Library";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
Library intended to provide a set of useful functions to deal with
|
||||||
|
3D surfaces meshed with interconnected triangles.
|
||||||
|
'';
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jquery-ui-1.8.9";
|
name = "jquery-ui-1.8.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://jqueryui.com/download/${name}.custom.zip";
|
url = "http://jqueryui.com/download/${name}.custom.zip";
|
||||||
sha256 = "1fnn5xwj57bdf9z786iymcxa7c4qf6mv4jm5m7q52j72by8gf011";
|
sha256 = "0yglab9zmxr1il2rmxxd7gycpfaavgpi03h8nc5b2yx2kz80jlik";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://jqueryui.com/;
|
homepage = http://jqueryui.com/;
|
||||||
description = "A library of JavaScript widgets and effects";
|
description = "A library of JavaScript widgets and effects";
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,40 @@
|
|||||||
{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python }:
|
{ stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
|
||||||
|
, iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext }:
|
||||||
|
|
||||||
let version = "0.8.3"; in
|
let version = "0.8.8"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libvirt-${version}";
|
name = "libvirt-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
|
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
|
||||||
sha256 = "07vsk4g1nxvxc8yr6cdvwp9kvwgm2g7lh6aaggfkxb2775n87q9m";
|
sha256 = "04z1757qpi3ssnjv5h2qnw1sds2m50yxk67cbdam6w4i50vyl2h3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libxml2 gnutls devicemapper perl python ];
|
buildInputs =
|
||||||
|
[ pkgconfig libxml2 gnutls devicemapper perl python readline lvm2
|
||||||
|
utillinux udev libpciaccess gettext
|
||||||
|
];
|
||||||
|
|
||||||
# xen currently disabled in nixpkgs
|
preConfigure =
|
||||||
configureFlags = ''
|
''
|
||||||
--without-xen
|
PATH=${iproute}/sbin:${iptables}/sbin:${lvm2}/sbin:${udev}/sbin:$PATH
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags = "--localstatedir=/var --with-init-script=redhat";
|
||||||
|
|
||||||
|
installFlags = "localstatedir=$(TMPDIR)/var";
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
substituteInPlace $out/etc/rc.d/init.d/libvirt-guests \
|
||||||
|
--replace "$out/bin" "${gettext}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://libvirt.org/;
|
homepage = http://libvirt.org/;
|
||||||
description = "A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).";
|
description = "A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).";
|
||||||
license = "LGPLv2+";
|
license = "LGPLv2+";
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ let
|
|||||||
lib = args.lib;
|
lib = args.lib;
|
||||||
fetchurl = args.fetchurl;
|
fetchurl = args.fetchurl;
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "0.10.1" args;
|
version = lib.attrByPath ["version"] "0.11.1" args;
|
||||||
buildInputs = with args; [
|
buildInputs = with args; [
|
||||||
|
|
||||||
];
|
];
|
||||||
@ -11,7 +11,7 @@ in
|
|||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.sourceforge.net/opende/ode-${version}.tar.bz2";
|
url = "http://downloads.sourceforge.net/opende/ode-${version}.tar.bz2";
|
||||||
sha256 = "0bm7kmm7qvrbk40pgaszqr66pjfvnln8vjzdmcdl2h1dxi3b4dln";
|
sha256 = "1883gbsnn7zldrpwfdh6kwj20g627n5bspz3yb2z6lrxdal88y47";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation {
|
|||||||
EMSA3_SHA384, ///< SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding\
|
EMSA3_SHA384, ///< SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding\
|
||||||
EMSA3_SHA512 ///< SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding'
|
EMSA3_SHA512 ///< SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = "--no-separate-debug-info";
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Qt Cryptographic Architecture";
|
description = "Qt Cryptographic Architecture";
|
||||||
license = "LGPL";
|
license = "LGPL";
|
||||||
|
22
pkgs/development/libraries/soqt/default.nix
Normal file
22
pkgs/development/libraries/soqt/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ fetchurl, stdenv, coin3d, qt4 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "soqt-${version}";
|
||||||
|
version = "1.5.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ftp.coin3d.org/coin/src/all/SoQt-${version}.tar.gz";
|
||||||
|
sha256 = "14dbh8ynzjcgwgxjc6530c5plji7vn62kbdf447w0dp53564p8zn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ coin3d qt4 ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.coin3d.org/;
|
||||||
|
license = "GPLv2+";
|
||||||
|
description = "Glue between Coin high-level 3D visualization library and Qt";
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
17
pkgs/development/libraries/xercesc/default.nix
Normal file
17
pkgs/development/libraries/xercesc/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xerces-c-${version}";
|
||||||
|
version = "3.1.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://apache/xerces/c/3/sources/${name}.tar.gz";
|
||||||
|
sha256 = "0dl7jr26vlh5p3hps86xrwyafq6f21schc9q4zyxb48b3vvqa9x4";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://xerces.apache.org/xerces-c/;
|
||||||
|
description = "Validating XML parser written in a portable subset of C++";
|
||||||
|
license = "ASL2.0";
|
||||||
|
};
|
||||||
|
}
|
@ -5,7 +5,7 @@ let
|
|||||||
os = stdenv.lib.optionalString;
|
os = stdenv.lib.optionalString;
|
||||||
inherit (stdenv.lib) optional;
|
inherit (stdenv.lib) optional;
|
||||||
majorVersion = "2.8";
|
majorVersion = "2.8";
|
||||||
minorVersion = "3";
|
minorVersion = "4";
|
||||||
version = "${majorVersion}.${minorVersion}";
|
version = "${majorVersion}.${minorVersion}";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
|
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
|
||||||
sha256 = "1262bz0c0g5c57ba7rbbrs72xa42xs26fwf72mazmkmmhqkx17k8";
|
sha256 = "1k2kjaj3vfifb329ff7fr4hcbpbaqb66l97pshq70h7m0zwajznr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ curl expat zlib bzip2 libarchive ]
|
buildInputs = [ curl expat zlib bzip2 libarchive ]
|
||||||
|
@ -1,17 +1,24 @@
|
|||||||
{ fetchurl, stdenv, guile, which }:
|
{ fetchurl, stdenv, guile, which }:
|
||||||
|
|
||||||
let version = "5.9.8"; in
|
let version = "5.11.6"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "autogen-${version}";
|
name = "autogen-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/autogen/rel${version}/autogen-${version}.tar.bz2";
|
url = "mirror://gnu/autogen/rel${version}/autogen-${version}.tar.gz";
|
||||||
sha256 = "0y3ygzhzzv7sa0ndvszpfqwcjg4hcb35bcp8qqsndmr6mh6v6cnn";
|
sha256 = "013xy0f3hv1cw62nwh4r1x46zs9sndydaz31kd6889dp5p0snfkw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ guile which ];
|
buildInputs = [ guile which ];
|
||||||
|
|
||||||
|
patchPhase =
|
||||||
|
'' for i in $(find -name \*.in)
|
||||||
|
do
|
||||||
|
sed -i "$i" -e's|/usr/bin/||g'
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
# The tests rely on being able to find `libopts.a'.
|
# The tests rely on being able to find `libopts.a'.
|
||||||
configureFlags = "--enable-static";
|
configureFlags = "--enable-static";
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "acpi-0.09";
|
name = "acpi-1.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://grahame.angrygoats.net/source/acpi/${name}.tar.gz";
|
url = "http://ftp.de.debian.org/debian/pool/main/a/acpi/acpi_1.5.orig.tar.gz";
|
||||||
sha256 = "11iwzbm3gcn9ljvxl4cjj9fc1n135hx45rhrsprnnkqppndf3vn1";
|
sha256 = "1pb020j627ldjm1askqfzp6cjxrs79ail8svihanv7pgbg5r3zsp";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -4,18 +4,16 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dmtcp-${version}";
|
name = "dmtcp-${version}";
|
||||||
|
|
||||||
version = "1.1.8";
|
version = "1.2.0";
|
||||||
|
|
||||||
buildInputs = [ perl python ];
|
buildInputs = [ perl python ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/dmtcp/dmtcp_${version}.tar.gz";
|
url = "mirror://sourceforge/dmtcp/dmtcp_${version}.tar.gz";
|
||||||
sha256 = "05klyml5maw3f5rxl3i20fqyvpmx69bh09h7a48y19q3r4nqd8f2";
|
sha256 = "1pw3m4l1xf887xagd0yrrnb35s372j0kvjziyy3gmx9fxpga1jzb";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./dont_check_uid.patch ];
|
preConfigure = ''
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace dmtcp/src/dmtcp_coordinator.cpp \
|
substituteInPlace dmtcp/src/dmtcp_coordinator.cpp \
|
||||||
--replace /bin/bash /bin/sh
|
--replace /bin/bash /bin/sh
|
||||||
substituteInPlace utils/gdb-add-symbol-file \
|
substituteInPlace utils/gdb-add-symbol-file \
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
diff -Nuar dmtcp_1.1.8/dmtcp/src/dmtcp_restart.cpp dmtcp_1.1.8.dont_check_uid/dmtcp/src/dmtcp_restart.cpp
|
|
||||||
--- dmtcp_1.1.8/dmtcp/src/dmtcp_restart.cpp 2010-07-01 06:42:54.000000000 +0200
|
|
||||||
+++ dmtcp_1.1.8.dont_check_uid/dmtcp/src/dmtcp_restart.cpp 2010-09-06 23:50:51.000000000 +0200
|
|
||||||
@@ -662,14 +662,6 @@
|
|
||||||
sprintf(error_msg, "\ndmtcp_restart: ckpt image %s", restorename);
|
|
||||||
perror(error_msg);
|
|
||||||
doAbort = true;
|
|
||||||
- } else if (buf.st_uid != getuid()) { /*Could also run if geteuid() matches*/
|
|
||||||
- printf("\nProcess uid (%d) doesn't match uid (%d) of\n" \
|
|
||||||
- "checkpoint image (%s).\n" \
|
|
||||||
- "This is dangerous. Aborting for security reasons.\n" \
|
|
||||||
- "If you still want to do this (at your own risk),\n" \
|
|
||||||
- " then modify dmtcp/src/%s:%d and re-compile.\n",
|
|
||||||
- getuid(), buf.st_uid, restorename, __FILE__, __LINE__ - 6);
|
|
||||||
- doAbort = true;
|
|
||||||
}
|
|
||||||
if (doAbort)
|
|
||||||
abort();
|
|
||||||
diff -Nuar dmtcp_1.1.8/mtcp/mtcp_restart.c dmtcp_1.1.8.dont_check_uid/mtcp/mtcp_restart.c
|
|
||||||
--- dmtcp_1.1.8/mtcp/mtcp_restart.c 2010-07-01 06:42:53.000000000 +0200
|
|
||||||
+++ dmtcp_1.1.8.dont_check_uid/mtcp/mtcp_restart.c 2010-09-07 01:49:20.000000000 +0200
|
|
||||||
@@ -157,13 +157,6 @@
|
|
||||||
sprintf(error_msg, "\nmtcp_restart: ckpt image %s", restorename);
|
|
||||||
perror(error_msg);
|
|
||||||
abort();
|
|
||||||
- } else if (buf.st_uid != getuid()) { /*Could also run if geteuid() matches*/
|
|
||||||
- mtcp_printf("\nProcess uid (%d) doesn't match uid (%d) of\n" \
|
|
||||||
- "checkpoint image (%s).\n" \
|
|
||||||
- "This is dangerous. Aborting for security reasons.\n" \
|
|
||||||
- "If you still want to do this, modify mtcp/%s:%d and re-compile.\n",
|
|
||||||
- getuid(), buf.st_uid, restorename, __FILE__, __LINE__ - 5);
|
|
||||||
- abort();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "18why1wy0v859axgrlfxn80zmskss0410hh9rf5gn9cr29zg9cla";
|
sha256 = "18why1wy0v859axgrlfxn80zmskss0410hh9rf5gn9cr29zg9cla";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./vpnc.patch ];
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
patchShebangs ./configure
|
patchShebangs ./configure
|
||||||
|
15
pkgs/os-specific/linux/iproute/vpnc.patch
Normal file
15
pkgs/os-specific/linux/iproute/vpnc.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
vpnc fails with "RTNETLINK answers: No such device"
|
||||||
|
Patch from: https://bugs.gentoo.org/attachment.cgi?id=245736
|
||||||
|
In reference to: https://bugs.gentoo.org/show_bug.cgi?id=331447
|
||||||
|
|
||||||
|
--- iproute2-2.6.35.old/ip/iproute.c 2010-09-02 16:00:21.805000124 +0200
|
||||||
|
+++ iproute2-2.6.35/ip/iproute.c 2010-09-02 16:00:40.782000125 +0200
|
||||||
|
@@ -160,7 +160,7 @@
|
||||||
|
if (r->rtm_family == AF_INET6 && table != RT_TABLE_MAIN)
|
||||||
|
ip6_multiple_tables = 1;
|
||||||
|
|
||||||
|
- if (filter.cloned == !(r->rtm_flags&RTM_F_CLONED))
|
||||||
|
+ if (filter.cloned && !(r->rtm_flags&RTM_F_CLONED))
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
if (r->rtm_family == AF_INET6 && !ip6_multiple_tables) {
|
@ -1,11 +1,11 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "iptables-1.4.8";
|
name = "iptables-1.4.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.netfilter.org/projects/iptables/files/${name}.tar.bz2";
|
url = "http://www.netfilter.org/projects/iptables/files/${name}.tar.bz2";
|
||||||
sha256 = "342926b3f9635f89f479660835b0ba518ccd465552e41c29aa83c5af7d506496";
|
md5 = "f382fe693f0b59d87bd47bea65eca198";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Install header files required by miniupnpd.
|
# Install header files required by miniupnpd.
|
||||||
|
@ -198,11 +198,11 @@ in
|
|||||||
import ./generic.nix (
|
import ./generic.nix (
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
version = "2.6.32.28";
|
version = "2.6.32.29";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v2.6/longterm/v2.6.32/linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v2.6/longterm/v2.6.32/linux-${version}.tar.bz2";
|
||||||
sha256 = "0dzaj5k0sfzkr0klv52plfs66rf0hrbi2a9fs61smcwhc6yxnjdh";
|
sha256 = "1xwsmrlnhla8k612lz3jq9bl4c3b620m4pr74gv0rwsiksmh2l6c";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = configWithPlatform stdenv.platform;
|
config = configWithPlatform stdenv.platform;
|
||||||
|
@ -191,11 +191,11 @@ in
|
|||||||
import ./generic.nix (
|
import ./generic.nix (
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
version = "2.6.37";
|
version = "2.6.37.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
||||||
sha256 = "0fiq3v3y1sb0438h93z3jx7ygxc7ksxgxfx3az7kjis10lc0kgzd";
|
sha256 = "0wyl8ki7m6f037glcg77nx5r1bn5mmm1xskvv5xz7g7h20kvlwhw";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = configWithPlatform stdenv.platform;
|
config = configWithPlatform stdenv.platform;
|
||||||
|
16
pkgs/os-specific/linux/lsscsi/default.nix
Normal file
16
pkgs/os-specific/linux/lsscsi/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "lsscsi-0.24";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://sg.danny.cz/scsi/lsscsi-0.24.tgz";
|
||||||
|
sha256 = "0c718w80vi9a0w48q8xmlnbyqzxfd8lax5dcbqg8gvg4l2zaba2c";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace Makefile.in --replace /usr "$out"
|
||||||
|
'';
|
||||||
|
}
|
@ -3,11 +3,11 @@
|
|||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qemu-kvm-0.13.0";
|
name = "qemu-kvm-0.14.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/kvm/${name}.tar.gz";
|
url = "mirror://sourceforge/kvm/${name}.tar.gz";
|
||||||
sha256 = "0lxym4p2bvqcb37h3wbjd81w4jrj4dn5kivdxcpx27iwgq6n1ckd";
|
sha256 = "0d86bj1sipg9br8xks9527cjc482gf9813h8rm690yswcprsyqig";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./smb-tmpdir.patch ];
|
patches = [ ./smb-tmpdir.patch ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
, gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }:
|
, gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xnee-3.08";
|
name = "xnee-3.09";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/xnee/${name}.tar.gz";
|
url = "mirror://gnu/xnee/${name}.tar.gz";
|
||||||
sha256 = "0lyznw4j7l2zrd46423cq2ahsp55s8j3phprgkrv0sm18y232yf7";
|
sha256 = "08171scqiqzgmbq03rwjvlsakvw9cqrr7h3b743j14z4jzbasi8i";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase =
|
patchPhase =
|
||||||
|
@ -1,48 +1,39 @@
|
|||||||
x@{builderDefsPackage
|
{ fetchurl, stdenv, libgcrypt, readline }:
|
||||||
, libgcrypt, readline
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "freeipmi-1.0.2";
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="freeipmi";
|
src = fetchurl {
|
||||||
version="1.0.1";
|
url = "mirror://gnu/freeipmi/${name}.tar.gz";
|
||||||
name="${baseName}-${version}";
|
sha256 = "1v7f9y6dsb6bg5yribq1i66s6kr4hq6g95fhh9k7h1dgcf2qgpyj";
|
||||||
url="http://download.gluster.com/pub/${baseName}/${version}/${name}.tar.gz";
|
|
||||||
hash="11j0jvarxvzj89c2fg49ghz75gljdkacid6631q313kc1bd2l0ms";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ libgcrypt readline ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
doCheck = true;
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "IPMI utility";
|
description = "GNU FreeIPMI, an implementation of the Intelligent Platform Management Interface";
|
||||||
maintainers = with a.lib.maintainers;
|
|
||||||
[
|
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.gpl3;
|
|
||||||
};
|
|
||||||
passthru = {
|
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://www.gnu.org/software/freeipmi/download.html";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
longDescription =
|
||||||
|
'' GNU FreeIPMI provides in-band and out-of-band IPMI software based on
|
||||||
|
the IPMI v1.5/2.0 specification. The IPMI specification defines a
|
||||||
|
set of interfaces for platform management and is implemented by a
|
||||||
|
number vendors for system management. The features of IPMI that
|
||||||
|
most users will be interested in are sensor monitoring, system event
|
||||||
|
monitoring, power control, and serial-over-LAN (SOL). The FreeIPMI
|
||||||
|
tools and libraries listed below should provide users with the
|
||||||
|
ability to access and utilize these and many other features. A
|
||||||
|
number of useful features for large HPC or cluster environments have
|
||||||
|
also been implemented into FreeIPMI. See the README or FAQ for more
|
||||||
|
info.
|
||||||
|
'';
|
||||||
|
|
||||||
|
homepage = http://www.gnu.org/software/freeipmi/;
|
||||||
|
|
||||||
|
license = "GPLv3+";
|
||||||
|
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ raskin ludo ];
|
||||||
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||||
|
};
|
||||||
|
}
|
||||||
|
@ -2,27 +2,31 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
name = "source-highlight";
|
name = "source-highlight";
|
||||||
version = "3.1.3";
|
version = "3.1.4";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
|
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
|
||||||
sha256 = "2d819f2ffdc8bb23a87635bdfbc51545db22605a8e544f66f86054b8075af0b5";
|
sha256 = "1jd30ansx2pld196lik6r85aifdhd0cav701vasf4ws8kc8zkcxc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Help it find Boost::Regex.
|
||||||
|
preConfigure =
|
||||||
|
'' export ax_cv_boost_regex=yes
|
||||||
|
export link_regex=yes
|
||||||
|
export BOOST_REGEX_LIB=-lboost_regex
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [boost];
|
buildInputs = [boost];
|
||||||
doCheck = false; # The test suite fails with a trivial
|
doCheck = true;
|
||||||
# error, so I'll disable it for now.
|
|
||||||
# Whoever bumps this build to the next
|
|
||||||
# version, please re-enable it though!
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "render source code with syntax highlighting";
|
description = "GNU Source-Highlight, source code renderer with syntax highlighting";
|
||||||
homepage = "http://www.gnu.org/software/src-highlite/";
|
homepage = "http://www.gnu.org/software/src-highlite/";
|
||||||
license = "GPLv3+";
|
license = "GPLv3+";
|
||||||
maintainers = [ ];
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
longDescription =
|
longDescription =
|
||||||
''
|
''
|
||||||
|
@ -2872,6 +2872,8 @@ let
|
|||||||
inherit (gnome) gtk;
|
inherit (gnome) gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
coin3d = callPackage ../development/libraries/coin3d { };
|
||||||
|
|
||||||
commoncpp2 = callPackage ../development/libraries/commoncpp2 { };
|
commoncpp2 = callPackage ../development/libraries/commoncpp2 { };
|
||||||
|
|
||||||
confuse = callPackage ../development/libraries/confuse { };
|
confuse = callPackage ../development/libraries/confuse { };
|
||||||
@ -3298,6 +3300,8 @@ let
|
|||||||
|
|
||||||
gtkspell = callPackage ../development/libraries/gtkspell { };
|
gtkspell = callPackage ../development/libraries/gtkspell { };
|
||||||
|
|
||||||
|
gts = callPackage ../development/libraries/gts { };
|
||||||
|
|
||||||
# TODO : Add MIT Kerberos and let admin choose.
|
# TODO : Add MIT Kerberos and let admin choose.
|
||||||
kerberos = heimdal;
|
kerberos = heimdal;
|
||||||
|
|
||||||
@ -3973,6 +3977,8 @@ let
|
|||||||
|
|
||||||
qca2_ossl = callPackage ../development/libraries/qca2/ossl.nix {};
|
qca2_ossl = callPackage ../development/libraries/qca2/ossl.nix {};
|
||||||
|
|
||||||
|
qimageblitz = callPackage ../development/libraries/qimageblitz {};
|
||||||
|
|
||||||
qjson = callPackage ../development/libraries/qjson { };
|
qjson = callPackage ../development/libraries/qjson { };
|
||||||
|
|
||||||
qt3 = callPackage ../development/libraries/qt-3 {
|
qt3 = callPackage ../development/libraries/qt-3 {
|
||||||
@ -4078,6 +4084,8 @@ let
|
|||||||
# optional
|
# optional
|
||||||
};
|
};
|
||||||
|
|
||||||
|
soqt = callPackage ../development/libraries/soqt { };
|
||||||
|
|
||||||
speechd = callPackage ../development/libraries/speechd { };
|
speechd = callPackage ../development/libraries/speechd { };
|
||||||
|
|
||||||
speex = callPackage ../development/libraries/speex { };
|
speex = callPackage ../development/libraries/speex { };
|
||||||
@ -4100,6 +4108,8 @@ let
|
|||||||
|
|
||||||
stlport = callPackage ../development/libraries/stlport { };
|
stlport = callPackage ../development/libraries/stlport { };
|
||||||
|
|
||||||
|
strigi = callPackage ../development/libraries/strigi {};
|
||||||
|
|
||||||
suitesparse = callPackage ../development/libraries/suitesparse { };
|
suitesparse = callPackage ../development/libraries/suitesparse { };
|
||||||
|
|
||||||
sword = callPackage ../development/libraries/sword { };
|
sword = callPackage ../development/libraries/sword { };
|
||||||
@ -4199,6 +4209,8 @@ let
|
|||||||
|
|
||||||
xautolock = callPackage ../misc/screensavers/xautolock { };
|
xautolock = callPackage ../misc/screensavers/xautolock { };
|
||||||
|
|
||||||
|
xercesc = callPackage ../development/libraries/xercesc {};
|
||||||
|
|
||||||
xercesJava = callPackage ../development/libraries/java/xerces {
|
xercesJava = callPackage ../development/libraries/java/xerces {
|
||||||
ant = apacheAntGcj; # for bootstrap purposes
|
ant = apacheAntGcj; # for bootstrap purposes
|
||||||
javac = gcj;
|
javac = gcj;
|
||||||
@ -5190,6 +5202,8 @@ let
|
|||||||
|
|
||||||
libvolume_id = callPackage ../os-specific/linux/libvolume_id { };
|
libvolume_id = callPackage ../os-specific/linux/libvolume_id { };
|
||||||
|
|
||||||
|
lsscsi = callPackage ../os-specific/linux/lsscsi { };
|
||||||
|
|
||||||
lvm2 = callPackage ../os-specific/linux/lvm2 { };
|
lvm2 = callPackage ../os-specific/linux/lvm2 { };
|
||||||
|
|
||||||
# In theory GNU Mach doesn't have to be cross-compiled. However, since it
|
# In theory GNU Mach doesn't have to be cross-compiled. However, since it
|
||||||
@ -5897,6 +5911,8 @@ let
|
|||||||
|
|
||||||
espeak = callPackage ../applications/audio/espeak { };
|
espeak = callPackage ../applications/audio/espeak { };
|
||||||
|
|
||||||
|
esniper = callPackage ../applications/networking/esniper { };
|
||||||
|
|
||||||
evopedia = callPackage ../applications/misc/evopedia { };
|
evopedia = callPackage ../applications/misc/evopedia { };
|
||||||
|
|
||||||
# FIXME: Evince and other GNOME/GTK+ apps (e.g., Viking) provide
|
# FIXME: Evince and other GNOME/GTK+ apps (e.g., Viking) provide
|
||||||
@ -5998,6 +6014,8 @@ let
|
|||||||
|
|
||||||
flite = callPackage ../applications/misc/flite { };
|
flite = callPackage ../applications/misc/flite { };
|
||||||
|
|
||||||
|
freecad = callPackage ../applications/graphics/freecad { };
|
||||||
|
|
||||||
freemind = callPackage ../applications/misc/freemind {
|
freemind = callPackage ../applications/misc/freemind {
|
||||||
jdk = jdk;
|
jdk = jdk;
|
||||||
jre = jdk;
|
jre = jdk;
|
||||||
|
@ -10,7 +10,7 @@ let
|
|||||||
allPackages {
|
allPackages {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.packageOverrides = pkgs: {
|
config.packageOverrides = pkgs: {
|
||||||
guile = pkgs.guile_1_9;
|
guile = pkgs.guile_2_0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user