File tree Expand file tree Collapse file tree 2 files changed +956
-0
lines changed Expand file tree Collapse file tree 2 files changed +956
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ flutter ,
5+ } :
6+ let
7+ version = "0.4.0" ;
8+ src = fetchFromGitHub {
9+ owner = "kra-mo" ;
10+ repo = "sly" ;
11+ rev = "v${ version } " ;
12+ hash = "sha256-P7LhhXQQDRsDQ8bZgfvWazLRMYVGhFhMTD41fgs718g=" ;
13+ } ;
14+ in
15+ flutter . buildFlutterApplication {
16+ pname = "sly" ;
17+ inherit version src ;
18+
19+ pubspecLock = lib . importJSON ./pubspec.lock.json ;
20+
21+ postInstall = ''
22+ install -Dm0644 ./packaging/linux/page.kramo.Sly.svg $out/share/icons/hicolor/scalable/apps/page.kramo.Sly.svg
23+ install -Dm0644 ./packaging/linux/page.kramo.Sly.desktop $out/share/applications/page.kramo.Sly.desktop
24+ '' ;
25+
26+ meta = {
27+ description = "Friendly image editor" ;
28+ homepage = "https://github.com/kra-mo/sly" ;
29+ mainProgram = "sly" ;
30+ license = with lib . licenses ; [ gpl3Plus ] ;
31+ maintainers = with lib . maintainers ; [ aucub ] ;
32+ platforms = lib . platforms . linux ;
33+ } ;
34+ }
You can’t perform that action at this time.
0 commit comments