lol

perlPackages.DBDSQLite: 1.55_07 -> 1.58 (please ignore it)

authored by

volth and committed by
GitHub
208a3ff6 0decee48

+7 -21
+7 -21
pkgs/development/perl-modules/DBD-SQLite/default.nix
··· 1 1 { stdenv, fetchurl, buildPerlPackage, DBI, sqlite }: 2 2 3 3 buildPerlPackage rec { 4 - name = "DBD-SQLite-${version}"; 5 - version = "1.55_07"; 4 + name = "DBD-SQLite-1.58"; 6 5 7 6 src = fetchurl { 8 - url = "https://github.com/DBD-SQLite/DBD-SQLite/archive/${version}.tar.gz"; 9 - sha256 = "0213a31eb7b5afc2d7b3775ca2d1717d07fc7e9ed21ae73b2513a8d54ca222d8"; 7 + url = mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-1.58.tar.gz; 8 + sha256 = "0fqx386jgs9mmrknr7smmzapf07izgivza7x08lfm39ks2cxs83i"; 10 9 }; 11 10 12 11 propagatedBuildInputs = [ DBI ]; ··· 19 18 20 19 makeMakerFlags = "SQLITE_INC=${sqlite.dev}/include SQLITE_LIB=${sqlite.out}/lib"; 21 20 22 - preBuild = 23 - '' 24 - substituteInPlace Makefile --replace -L/usr/lib "" 25 - ''; 26 - 27 - postInstall = 28 - '' 29 - # Prevent warnings from `strip'. 30 - chmod -R u+w $out 31 - 32 - # Get rid of a pointless copy of the SQLite sources. 33 - rm -rf $out/lib/perl5/site_perl/*/*/auto/share 34 - ''; 35 - 36 - # Disabled because the tests can randomly fail due to timeouts 37 - # (e.g. "database is locked(5) at dbdimp.c line 402 at t/07busy.t"). 38 - #doCheck = false; 21 + postInstall = '' 22 + # Get rid of a pointless copy of the SQLite sources. 23 + rm -rf $out/lib/perl5/site_perl/*/*/auto/share 24 + ''; 39 25 40 26 meta = with stdenv.lib; { 41 27 description = "Self Contained SQLite RDBMS in a DBI Driver";