all-packages: Use callPackage where possible

This commit is contained in:
Mathnerd314
2015-09-14 22:27:19 -06:00
parent 7fb1c7efcf
commit eb7404d97a
64 changed files with 409 additions and 726 deletions

View File

@@ -1,8 +1,8 @@
a :
let
a @ {python, ...} :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.4.8" a;
version = a.lib.attrByPath ["version"] "0.4.8" a;
buildInputs = with a; [
python
];
@@ -24,7 +24,7 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["doPatch" "installPythonPackage"];
name = "python-irclib-" + version;
meta = {
description = "Python IRC library";

View File

@@ -1,8 +1,8 @@
a :
let
a @ { python, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, ... } :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.1.9" a;
version = a.lib.attrByPath ["version"] "0.1.9" a;
buildInputs = with a; [
pkgconfig pygtk
];

View File

@@ -1,8 +1,8 @@
a :
let
a @ {python, setuptools, ... } :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
buildInputs = with a; [
python setuptools
];
@@ -22,7 +22,7 @@ rec {
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
'') ["defEnsureDir" "addInputs"];
name = "xmpp.py-" + version;
meta = {
description = "XMPP python library";