mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
typstfmt: rename from typst-fmt, unstable-2023-04-26 -> unstable-2023-07-15
Diff: cb29964524...dd7715ee4b
This commit is contained in:
parent
fa5454d6b5
commit
7bce1e4d73
|
@ -1,31 +0,0 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "typst-fmt";
|
|
||||||
version = "unstable-2023-04-26";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "astrale-sharp";
|
|
||||||
repo = pname;
|
|
||||||
rev = "cb299645244551bfc91dc4579a2543a0d4cc84b0";
|
|
||||||
hash = "sha256-/+m3HkOsBiOAhOqBfv+hPauvDKqfCrwOWGDtYfW5zJQ=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoLock = {
|
|
||||||
lockFile = ./Cargo.lock;
|
|
||||||
outputHashes = {
|
|
||||||
"typst-0.2.0" = "sha256-6Uezm3E/qGl9303auqjvfWe3KKsqwsHeXUrjWemjJKU=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
checkFlags = [
|
|
||||||
# test_eof is ignored upstream
|
|
||||||
"--skip=rules::tests_typst_format::test_eof"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A formatter for the Typst language";
|
|
||||||
homepage = "https://github.com/astrale-sharp/typst-fmt";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ geri1701 ];
|
|
||||||
};
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
28
pkgs/tools/typesetting/typstfmt/default.nix
Normal file
28
pkgs/tools/typesetting/typstfmt/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage {
|
||||||
|
pname = "typstfmt";
|
||||||
|
version = "unstable-2023-07-15";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "astrale-sharp";
|
||||||
|
repo = "typstfmt";
|
||||||
|
rev = "dd7715ee4bcb8637e207c21222f3168cfc384e9e";
|
||||||
|
hash = "sha256-m5PN19JxMRKRVHzoxl5n6osz3bZlBNO1hxgfQMxJuok=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoLock = {
|
||||||
|
lockFile = ./Cargo.lock;
|
||||||
|
outputHashes = {
|
||||||
|
"svg2pdf-0.5.0" = "sha256-yBQpvDAnJ7C0PWIM/o0PzOg9JlDZCEiVdCTDDPSwrmE=";
|
||||||
|
"typst-0.6.0" = "sha256-igNAs3946Mq8GjOSrDnmcIxjrVMPbYGC86EUHIDAugM=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A formatter for the Typst language";
|
||||||
|
homepage = "https://github.com/astrale-sharp/typstfmt";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda geri1701 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1729,6 +1729,7 @@ mapAliases ({
|
||||||
twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26
|
twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26
|
||||||
tychus = throw "tychus has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
|
tychus = throw "tychus has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
|
||||||
typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
|
typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
|
||||||
|
typst-fmt = typstfmt; # Added 2023-07-15
|
||||||
|
|
||||||
### U ###
|
### U ###
|
||||||
|
|
||||||
|
|
|
@ -13684,7 +13684,7 @@ with pkgs;
|
||||||
|
|
||||||
typst = callPackage ../tools/typesetting/typst { };
|
typst = callPackage ../tools/typesetting/typst { };
|
||||||
|
|
||||||
typst-fmt = callPackage ../tools/typesetting/typst-fmt { };
|
typstfmt = callPackage ../tools/typesetting/typstfmt { };
|
||||||
|
|
||||||
typst-live = callPackage ../tools/typesetting/typst-live { };
|
typst-live = callPackage ../tools/typesetting/typst-live { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue