Adding more muscle programs and libraries.

svn path=/nixpkgs/trunk/; revision=19320
This commit is contained in:
Lluís Batlle i Rossell 2010-01-09 18:06:37 +00:00
parent 56cfcdb27f
commit 517fdec44b
4 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{stdenv, fetchurl, pkgconfig, pcsclite}:
stdenv.mkDerivation {
name = "libmusclecard-1.3.6";
src = fetchurl {
url = https://alioth.debian.org/frs/download.php/3024/libmusclecard-1.3.6.tar.bz2;
sha256 = "1sswy7vcy0w9p6818al7prv9d3whj7w3w98k55zw9nhspbj6lppb";
};
# The OS should care on preparing the services into this location
configureFlags = [ "--enable-muscledropdir=/var/lib/pcsc/services" ];
buildInputs = [ pkgconfig pcsclite ];
meta = {
description = "Smart card framework";
homepage = http://muscleplugins.alioth.debian.org/;
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -0,0 +1,24 @@
{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];
meta = {
description = "Smart card framework";
homepage = http://muscleplugins.alioth.debian.org/;
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -0,0 +1,19 @@
{stdenv, fetchurl, libmusclecard, pcsclite, pkgconfig }:
stdenv.mkDerivation {
name = "muscletool-2.1.1";
src = fetchurl {
url = https://alioth.debian.org/frs/download.php/3180/muscletool-2.1.1.tar.bz2;
sha256 = "11d812ijvhsaxwkr05hzxfl0n6ji9hwl5j1kv56f9gv8kyy3b9kw";
};
buildInputs = [ libmusclecard pcsclite pkgconfig ];
meta = {
description = "Smart card applications for use with muscle plugins";
homepage = http://muscleapps.alioth.debian.org/;
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -1065,6 +1065,14 @@ let
};
});
muscleframework = import ../tools/security/muscleframework {
inherit fetchurl stdenv libmusclecard pkgconfig pcsclite;
};
muscletool = import ../tools/security/muscletool {
inherit fetchurl stdenv pkgconfig libmusclecard pcsclite;
};
mysql2pgsql = import ../tools/misc/mysql2pgsql {
inherit fetchurl stdenv perl shebangfix;
};
@ -4019,6 +4027,10 @@ let
inherit fetchurl stdenv;
};
libmusclecard = import ../development/libraries/libmusclecard {
inherit fetchurl stdenv pkgconfig pcsclite;
};
libnova = import ../development/libraries/libnova {
inherit fetchurl stdenv;
};