nixpkgs/pkgs/development/libraries/libfreefare/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

24 lines
759 B
Nix

{ stdenv, fetchurl, pkgconfig, libnfc, openssl
, libobjc ? null }:
stdenv.mkDerivation rec {
name = "libfreefare-${version}";
version = "0.4.0";
src = fetchurl {
url = "https://libfreefare.googlecode.com/files/libfreefare-0.4.0.tar.bz2";
sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnfc openssl ] ++ stdenv.lib.optional stdenv.isDarwin libobjc;
meta = with stdenv.lib; {
description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations";
license = licenses.gpl3;
homepage = http://code.google.com/p/libfreefare/;
maintainers = with maintainers; [bobvanderlinden];
platforms = platforms.unix;
};
}