summary refs log tree commit diff
path: root/pkgs/development/libraries/libffi
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-06-15 10:56:24 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-12-17 14:45:46 +0100
commit82a21ccaf7b3913657eabbd085130c308461ebb9 (patch)
treedfb04947dec1e4227f6a28eefa0b384a0957a03e /pkgs/development/libraries/libffi
parent5a129a8121f455e79fd1ae90ce941a690a053f14 (diff)
downloadnixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar.gz
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar.bz2
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar.lz
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar.xz
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.tar.zst
nixpkgs-82a21ccaf7b3913657eabbd085130c308461ebb9.zip
libffi: refactor meta
Diffstat (limited to 'pkgs/development/libraries/libffi')
-rw-r--r--pkgs/development/libraries/libffi/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix
index 9c2334f38db..5c981e664cb 100644
--- a/pkgs/development/libraries/libffi/default.nix
+++ b/pkgs/development/libraries/libffi/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
     ln -s${if (stdenv.isFreeBSD || stdenv.isOpenBSD || stdenv.isDarwin) then "" else "r"}v "$out/lib/"libffi*/include "$out/include"
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A foreign function call interface library";
     longDescription = ''
       The libffi library provides a portable, high level programming
@@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
     '';
     homepage = http://sourceware.org/libffi/;
     # See http://github.com/atgreen/libffi/blob/master/LICENSE .
-    license = stdenv.lib.licenses.free;
+    license = licenses.free;
     maintainers = [ ];
-    platforms = stdenv.lib.platforms.all;
+    platforms = platforms.all;
   };
 }