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 @ { groff, ... } :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "2.17" a;
version = a.lib.attrByPath ["version"] "2.17" a;
buildInputs = with a; [
groff
];
@@ -26,7 +26,7 @@ rec {
'') ["minInit" "doUnpack" "doConfigure"];
neededDirs = ["$out/bin" "$out/share/man/man8"];
name = "setserial-" + version;
meta = {
description = "Serial port configuration utility";

View File

@@ -1,5 +1,5 @@
a :
let
a @ {pciutils, libx86, zlib, ...} :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
libx86 pciutils zlib
@@ -19,13 +19,13 @@ rec {
sed -e 's@$(libdir)/libpci.a@${a.pciutils}/lib/libpci.so@' -i Makefile.in
export NIX_LDFLAGS="$NIX_LDFLAGS -lpci"
'') ["doUnpack" "minInit"];
meta = {
description = "Video BIOS execution tool";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
platforms = with a.lib.platforms;
linux;
};
}