diff options
| author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-30 21:48:06 -0300 |
|---|---|---|
| committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-06-02 01:24:00 +0000 |
| commit | 0bff98db4b31457bbb0372df2f5f9f2f44812962 (patch) | |
| tree | 7af7ad9fc8de915d855c1bd7f3b2503544acebbd | |
| parent | tecoc: rewrite expression (diff) | |
| download | nixpkgs-0bff98db4b31457bbb0372df2f5f9f2f44812962.tar.gz | |
tecoc: unstable-2020-11-03 -> unstable-2023-04-21
Also, an experimental updater
(cherry picked from commit 74c2a065a298c3814ed7ca2d33ce26694eef3a96)
| -rw-r--r-- | pkgs/applications/editors/tecoc/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/editors/tecoc/default.nix b/pkgs/applications/editors/tecoc/default.nix index df0ddf34d201..94889a13ef6d 100644 --- a/pkgs/applications/editors/tecoc/default.nix +++ b/pkgs/applications/editors/tecoc/default.nix @@ -2,17 +2,18 @@ , lib , fetchFromGitHub , ncurses +, unstableGitUpdater }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "tecoc"; - version = "unstable-2020-11-03"; + version = "unstable-2023-04-21"; src = fetchFromGitHub { owner = "blakemcbride"; repo = "TECOC"; - rev = "79fcb6cfd6c5f9759f6ec46aeaf86d5806b13a0b"; - hash = "sha256-JooLvoh9CxLHLOXXxE7zA7R9yglr9BGUwX4nrw2/vIw="; + rev = "021d1d15242b9d6c84d70c9ffcf1871793898f0a"; + hash = "sha256-VGIO+uiAZkdzLYmJztmnKTS4HDIVow4AimaneHj7E1M="; }; buildInputs = [ ncurses ]; @@ -49,6 +50,10 @@ stdenv.mkDerivation { popd ''; + passthru.updateScript = unstableGitUpdater { + url = finalAttrs.meta.homepage; + }; + meta = { homepage = "https://github.com/blakemcbride/TECOC"; description = "A clone of the good old TECO editor"; @@ -72,4 +77,4 @@ stdenv.mkDerivation { maintainers = [ lib.maintainers.AndersonTorres ]; platforms = lib.platforms.unix; }; -} +}) |
