2010-01-09 21:33:28 +00:00
|
|
|
# The tarball has different plugins in it, and as I don't need all of them,
|
|
|
|
# I only build one of those in this derivation
|
|
|
|
# This is an arbitrary decision, and this simplicity fit my needs.
|
|
|
|
# Anyone can extend the extension to build all the plugins, or to make
|
|
|
|
# different derivations for each plugin.
|
|
|
|
|
2010-01-09 18:06:37 +00:00
|
|
|
{stdenv, fetchurl, libmusclecard, pkgconfig, pcsclite}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "muscleframework-mcardplugin-1.1.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://alioth.debian.org/frs/download.php/3056/muscleframework-1.1.7.tar.gz;
|
|
|
|
sha256 = "081sq25fa3k1gz0asq2995krx7pzxbfq5vx1ahsd5sbmwnplv94v";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd MCardPlugin
|
|
|
|
configureFlags="$configureFlags --enable-muscledropdir=$out/pcsc/services"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libmusclecard pkgconfig pcsclite];
|
|
|
|
|
2015-06-10 12:00:11 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-09 21:33:28 +00:00
|
|
|
description = "MUSCLE smart card framework - mcard plugin";
|
2010-01-09 18:06:37 +00:00
|
|
|
homepage = http://muscleplugins.alioth.debian.org/;
|
2015-06-10 12:00:11 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [viric];
|
2014-08-12 12:01:22 +01:00
|
|
|
# XXX: don't build before libmusclecard is fixed
|
|
|
|
# platforms = with stdenv.lib.platforms; linux;
|
2010-01-09 18:06:37 +00:00
|
|
|
};
|
|
|
|
}
|