9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
24 lines
804 B
Nix
24 lines
804 B
Nix
{ stdenv, fetchurl, pkg-config, libnfc, openssl
|
|
, libobjc ? null }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "libfreefare";
|
|
version = "0.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libfreefare/libfreefare-0.4.0.tar.bz2";
|
|
sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
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.lgpl3;
|
|
homepage = "https://github.com/nfc-tools/libfreefare";
|
|
maintainers = with maintainers; [bobvanderlinden];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|