at v192 23 lines 596 B view raw
1{ fetchurl, stdenv, nss, nspr, pkgconfig }: 2 3 4stdenv.mkDerivation rec { 5 name = "liboauth-1.0.3"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/liboauth/${name}.tar.gz"; 9 sha256 = "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"; 10 }; 11 12 buildInputs = [ pkgconfig nss nspr ]; 13 14 configureFlags = [ "--enable-nss" ]; 15 16 meta = with stdenv.lib; { 17 platforms = platforms.linux; 18 description = "C library implementing the OAuth secure authentication protocol"; 19 homepage = http://liboauth.sourceforge.net/; 20 repositories.git = https://github.com/x42/liboauth.git; 21 }; 22 23}