File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ fetchFromGitHub ,
3+ lib ,
4+ nix-update-script ,
5+ openssl ,
6+ pkg-config ,
7+ rustPlatform ,
8+ versionCheckHook ,
9+ } :
10+
11+ rustPlatform . buildRustPackage rec {
12+ pname = "fishy" ;
13+ version = "0.2.1" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "p2panda" ;
17+ repo = "fishy" ;
18+ tag = "v${ version } " ;
19+ hash = "sha256-nRkP53v9+VzqHKTsHs+cBeLjh3yASFE18sSEY02NR1s=" ;
20+ } ;
21+
22+ useFetchCargoVendor = true ;
23+ cargoHash = "sha256-F4zbalop1PEb381DctUIzdm3v71b6M/hnuw9BuIEkBU=" ;
24+
25+ OPENSSL_NO_VENDOR = 1 ;
26+
27+ nativeBuildInputs = [ pkg-config ] ;
28+ buildInputs = [ openssl ] ;
29+
30+ nativeInstallCheckInputs = [ versionCheckHook ] ;
31+ versionCheckProgramArg = "--version" ;
32+ doInstallCheck = true ;
33+ passthru . updateScript = nix-update-script { } ;
34+
35+ meta = {
36+ description = "Create, manage and deploy p2panda schemas" ;
37+ homepage = "https://github.com/p2panda/fishy" ;
38+ changelog = "https://github.com/p2panda/fishy/blob/${ src . rev } /CHANGELOG.md" ;
39+ license = lib . licenses . agpl3Only ;
40+ maintainers = with lib . maintainers ; [ confusedalex ] ;
41+ mainProgram = "fishy" ;
42+ } ;
43+ }
You can’t perform that action at this time.
0 commit comments