Package Details: nand2tetris 2.6-5

Git Clone URL: (read-only, click to copy)
Package Base: nand2tetris
Description: Software suite accompanying Nand2Tetris course.
Upstream URL:
Licenses: GPL
Submitter: chadvoegele
Maintainer: chadvoegele
Last Packager: chadvoegele
Votes: 6
Popularity: 0.000000
First Submitted: 2014-01-04 19:46 (UTC)
Last Updated: 2023-05-19 11:44 (UTC)

Dependencies (2)

Required by (0)

Sources (10)

Latest Comments

1 2 3 4 Next › Last »

kj7 commented on 2024-04-13 13:02 (UTC)

it would be better if you used static package version instead of trying to dynamically resolve it, which results in a update loop

chadvoegele commented on 2023-05-22 02:00 (UTC)

@oconnor663 I don't use yay. Is the update behavior related to the pkgver() function?

oconnor663 commented on 2023-05-19 19:22 (UTC)

Actually I spoke a bit too soon. The package does work, but when I run yay -Syu, it seems to believe that the package always needs to be updated, even when I just updated it. Do you see anything similar?

oconnor663 commented on 2023-05-19 17:29 (UTC)

@chadvoegele just rebuilt the package, and it works great!

chadvoegele commented on 2023-05-19 11:46 (UTC)

@oconnor663 Thanks! I switched to your mirror. Can you verify?

oconnor663 commented on 2023-02-23 07:50 (UTC)

I've created a GitHub mirror of the course software here:

Here's an example of updating this package to use that mirror, which I think makes the packaging process reliable and fully automatic:

Please let me know if that patch needs any tweaks.

chungy commented on 2021-12-14 20:38 (UTC)

It doesn't seem apparent to me that the prior source was the same as the explicit export URL I suggested, which still works.

In-browser URLs are subject to change, but this one might have a bigger shot shot at remaining stable.

chadvoegele commented on 2021-11-26 13:27 (UTC) (edited on 2021-11-26 13:27 (UTC) by chadvoegele)

@chungy This package used to use something very similar to what you are suggesting but we were having problems with the url changing. See [1] for example and the comment from @cweagans [2].



chungy commented on 2021-10-05 17:51 (UTC)

The Google drive source should be downloadable automatically:

diff --git a/.SRCINFO b/.SRCINFO
index ed38e9b..5ef4c25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
 pkgbase = nand2tetris
    pkgdesc = Software suite accompanying Nand2Tetris course.
    pkgver = 2.6
-   pkgrel = 5
+   pkgrel = 6
    url =
    arch = any
    license = GPL
    makedepends = unzip
    depends = java-runtime
+   source =
    source =
    source =
    source =
@@ -16,6 +17,7 @@ pkgbase = nand2tetris
    source = n2tVMEmulator.desktop
    source = n2tHardwareSimulator.desktop
    source = n2tAssembler.desktop
+   sha256sums = d2cb160ad64ccb792158907d720976fb4fef8b8610bf9160dca38368153edbd9
    sha256sums = f93e4c08ed6af6a687f8d144598f998a19ac544d9fe6da05c162932d00f6a592
    sha256sums = f05fbcd9d86e7151c2e16682792586fd51086fa4864695ff8600256c15eb83d4
    sha256sums = 838dda39a97694ef1635ebbb0f6aa850623e281f70ef1e699930ee72e4934361
diff --git a/PKGBUILD b/PKGBUILD
index 6dea5d8..c80afa9 100644
@@ -3,14 +3,16 @@

 pkgdesc="Software suite accompanying Nand2Tetris course."
@@ -18,11 +20,9 @@ source=(
-        n2tAssembler.desktop
+        n2tAssembler.desktop)
+            'f93e4c08ed6af6a687f8d144598f998a19ac544d9fe6da05c162932d00f6a592'
@@ -32,22 +32,6 @@ sha256sums=('f93e4c08ed6af6a687f8d144598f998a19ac544d9fe6da05c162932d00f6a592'

-prepare() {
-  if [[ ! -f "${_nand2teris_source}" ]]
-  then
-    echo "Download ${_nand2teris_source} from ${_nand2teris_url} and place in ${srcdir}"
-    exit 1
-  fi
-  echo "d2cb160ad64ccb792158907d720976fb4fef8b8610bf9160dca38368153edbd9  ${_nand2teris_source}" | sha256sum -c --quiet
-  if [[ ! $? -eq 0 ]]
-  then
-    echo "Integrity check failed for ${_nand2teris_source}"
-  fi
-  unzip ${_nand2teris_source}
 package() {
   cd ${srcdir}/${pkgname}

abrahammurciano commented on 2020-10-24 19:16 (UTC)

@chadvoegele idk about @mar04, but my "workflow" is to use yay. So every so often I upgrade my machine with yay, and if you update the pkgrel, it tries to install nand2tetris again because it sees that the pkgrel is newer. So I just tried to upgrade and I got the "error" telling me to download from Therefore it didn't upgrade that package, and nand2tetris will always have a pending update until I download the source again and place it in srcdir. Please bump down the pkgrel, or everyone with this package will always see there is a pending update, even though they have no need to install it again.