File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
pkgs/development/compilers/dart/package-source-builders Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 13
13
rhttp = callPackage ./rhttp { } ;
14
14
sqlcipher_flutter_libs = callPackage ./sqlcipher_flutter_libs { } ;
15
15
sqlite3 = callPackage ./sqlite3 { } ;
16
+ sqlite3_flutter_libs = callPackage ./sqlite3_flutter_libs { } ;
16
17
system_tray = callPackage ./system-tray { } ;
17
18
super_native_extensions = callPackage ./super_native_extensions { } ;
18
19
}
Original file line number Diff line number Diff line change
1
+ {
2
+ stdenv ,
3
+ lib ,
4
+ fetchurl ,
5
+ } :
6
+
7
+ { version , src , ... } :
8
+
9
+ let
10
+ sqlite-autoconf = fetchurl {
11
+ url = "https://sqlite.org/2024/sqlite-autoconf-3470000.tar.gz" ;
12
+ hash = "sha256-g+shpvamSfUG34vTqrhaCPdVbO7V29jep0PqAD/DqVc=" ;
13
+ } ;
14
+ in
15
+ stdenv . mkDerivation {
16
+ pname = "sqlite3_flutter_libs" ;
17
+ inherit version src ;
18
+ inherit ( src ) passthru ;
19
+
20
+ postPatch = ''
21
+ substituteInPlace linux/CMakeLists.txt \
22
+ --replace-warn "https://sqlite.org/2024/sqlite-autoconf-3470000.tar.gz" "file://${ sqlite-autoconf } " \
23
+ --replace-warn "https://sqlite.org/2024/sqlite-autoconf-3460000.tar.gz" "file://${ sqlite-autoconf } " \
24
+ --replace-warn "https://www.sqlite.org/2022/sqlite-autoconf-3390000.tar.gz" "file://${ sqlite-autoconf } "
25
+ '' ;
26
+
27
+ installPhase = ''
28
+ runHook preInstall
29
+
30
+ cp -r . $out
31
+
32
+ runHook postInstall
33
+ '' ;
34
+ }
You can’t perform that action at this time.
0 commit comments