texpresso: 0-unstable-2025-01-29 -> 0.1 (#437916)
This commit is contained in:
@@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "texpresso";
|
pname = "texpresso";
|
||||||
version = "0-unstable-2025-01-29";
|
version = "0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "let-def";
|
owner = "let-def";
|
||||||
repo = "texpresso";
|
repo = "texpresso";
|
||||||
rev = "c42a5912f501f180984840fa8adf9ffc09c5ac13";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-T/vou7OcGtNoodCrznmjBLxg6ZAFDCjhpYgNyZaf44g=";
|
hash = "sha256-d+wNQIysn3hdTQnHN9MJbFOIhJQ0ml6PoeuwsryntTI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
#!nix-shell -i bash -p curl jq nix-update
|
#!nix-shell -i bash -p curl jq nix-update
|
||||||
|
|
||||||
tectonic_version="$(curl -s "https://api.github.com/repos/let-def/texpresso/contents/tectonic" | jq -r '.sha')"
|
tectonic_version="$(curl -s "https://api.github.com/repos/let-def/texpresso/contents/tectonic" | jq -r '.sha')"
|
||||||
nix-update --version=branch texpresso
|
nix-update texpresso
|
||||||
nix-update --version=branch=$tectonic_version texpresso.tectonic
|
nix-update --version=branch=$tectonic_version texpresso.tectonic
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user