File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ rustPlatform ,
5+ openssl ,
6+ pkg-config ,
7+ } :
8+ rustPlatform . buildRustPackage rec {
9+ pname = "utpm" ;
10+ version = "0-unstable-2024-12-17" ;
11+
12+ useFetchCargoVendor = true ;
13+ cargoHash = "sha256-fqGxor2PgsQemnPNoZkgNUNc7yRg2eqHTLzJAVpt6+8=" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "Thumuss" ;
17+ repo = pname ;
18+ rev = "6c2cabc8e7e696ea129f55aa7732a6be63bc2319" ;
19+ hash = "sha256-uuET0BG2kBFEEWSSZ35h6+tnqTTjEHOP50GR3IkL+CE=" ;
20+ } ;
21+
22+ env . OPENSSL_NO_VENDOR = 1 ;
23+
24+ buildInputs = [
25+ openssl
26+ ] ;
27+ nativeBuildInputs = [
28+ pkg-config
29+ ] ;
30+
31+ doCheck = false ; # no tests
32+
33+ meta = {
34+ description = "Package manager for typst" ;
35+ longDescription = ''
36+ UTPM is a package manager for local and remote packages. Create quickly
37+ new projects and templates from a singular tool, and then publish it directly
38+ to Typst!
39+ '' ;
40+ homepage = "https://github.com/Thumuss/utpm" ;
41+ license = lib . licenses . mit ;
42+ mainProgram = "utpm" ;
43+ maintainers = with lib . maintainers ; [ louis-thevenet ] ;
44+ } ;
45+ }
You can’t perform that action at this time.
0 commit comments