1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ rustPlatform ,
4
+ fetchFromGitHub ,
5
+ pkg-config ,
6
+ openssl ,
7
+ stdenv ,
8
+ darwin ,
9
+ } :
10
+
11
+ rustPlatform . buildRustPackage rec {
12
+ pname = "cliflux" ;
13
+ version = "1.8.0" ;
14
+
15
+ src = fetchFromGitHub {
16
+ owner = "spencerwi" ;
17
+ repo = "cliflux" ;
18
+ rev = "v${ version } " ;
19
+ hash = "sha256-AGkinlN5Ng0LXau6U9Ft+yMIFMpbrbup3R3c3UlglEM=" ;
20
+ } ;
21
+
22
+ useFetchCargoVendor = true ;
23
+
24
+ cargoHash = "sha256-3nNvPQMnYRZlhUab0MSf39vMNidpMLJh56JSjlsrYAg=" ;
25
+
26
+ nativeBuildInputs = [
27
+ pkg-config
28
+ ] ;
29
+
30
+ buildInputs =
31
+ [
32
+ openssl
33
+ ]
34
+ ++ lib . optionals stdenv . isDarwin [
35
+ darwin . apple_sdk . frameworks . Security
36
+ darwin . apple_sdk . frameworks . SystemConfiguration
37
+ ] ;
38
+
39
+ meta = {
40
+ description = "A terminal client for Miniflux RSS reader" ;
41
+ homepage = "https://github.com/spencerwi/cliflux" ;
42
+ changelog = "https://github.com/spencerwi/cliflux/blob/${ src . rev } /CHANGELOG.md" ;
43
+ license = lib . licenses . mit ;
44
+ maintainers = with lib . maintainers ; [ arthsmn ] ;
45
+ mainProgram = "cliflux" ;
46
+ } ;
47
+ }
0 commit comments