Package Base Details: nim-git

Git Clone URL: https://aur.archlinux.org/nim-git.git (read-only, click to copy)
Submitter: atweiden
Maintainer: 0x647262
Last Packager: 0x647262
Votes: 6
Popularity: 0.20
First Submitted: 2016-04-05 20:14
Last Updated: 2021-05-10 17:19

Pinned Comments

0x647262 commented on 2018-09-24 19:43

Looking for co-maintainers!

Shoot me an email if you're interested.

Latest Comments

1 2 3 Next › Last »

IOAOI commented on 2021-05-07 01:09

Some helpful discussion of build issues here: https://github.com/nim-lang/Nim/issues/17907

alaviss commented on 2021-05-02 04:18

Nim has moved to csources_v1 to bootstrap, please update this PKGBUILD to use it so that it builds now that we start relying on the new bootstrap compiler.

Figworm commented on 2021-04-19 00:38

nim-lang/Nim git repo: removed nimfind tool, succeeded by 'nim check --defusages' #17737

The current build fails with (paraphrased) 'unable to touch 'Nim/bin/nimfind' error. Removing references of nimfind in PKGBUILD, allows build to continue as normal.

haawda commented on 2021-01-06 22:25

The "examples" subdir vanished in upstreams repo.

IOAOI commented on 2020-10-29 18:52

The nim binary package builds some extra tools and includes nimpretty and nimsuggest, while nim-git doesn't.

nim-git /usr/bin/nim nim-git /usr/bin/nimgrep

nimpretty-git /usr/bin/nimpretty

nimsuggest-git /usr/bin/nimsuggest

nim usr/bin/nim nim usr/bin/nim-gdb nim usr/bin/nim-gdb.bash nim usr/bin/nim-gdb.bat nim usr/bin/nimfind nim usr/bin/nimgrep nim usr/bin/nimpretty nim usr/bin/nimsuggest nim usr/bin/testament

nim binary package PKGBUILD: https://git.archlinux.org/svntogit/community.git/tree/nim/repos/community-x86_64/PKGBUILD

haawda commented on 2020-09-30 16:39

Better pkgver function:

diff --git a/PKGBUILD b/PKGBUILD
index 6624742..3702f6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgbase='nim-git'
 pkgname=('nim-git' 'nimble-git' 'nimsuggest-git' 'nimpretty-git')
 pkgdesc='Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).'
 epoch=1
-pkgver=0.19.4.r1821.d24585c49
+pkgver=1.4.0b4438.9c86f4867
 pkgrel=1
 arch=('i686' 'x86_64')
 groups=('nim')
@@ -22,14 +22,15 @@ source=(
   'git+https://github.com/nim-lang/nimble'
   'makepkg-conf.patch'
 )
-sha256sums=(
-  'SKIP' 'SKIP' 'SKIP' 'SKIP'
-  '9d73290e81a2e2a79f7bb8058d47854d90ba9301dda1bee107294e2d82f631bf'
-)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '9d73290e81a2e2a79f7bb8058d47854d90ba9301dda1bee107294e2d82f631bf')

 _tag() {
   # Describes the most recent tag
-  git describe --abbrev=0 origin/master
+  head -1 changelog.md | cut -c3-8
 }

 _revision() {
@@ -46,7 +47,7 @@ pkgver() {
   cd Nim

   # Suggestions for improvement welcome!
-  printf '%s.r%s.%s'         \
+  printf '%sb%s.%s'         \
     "$(_tag | sed 's/v//g')" \
     "$(_revision)"           \
     "$(_commit)"

ruestique commented on 2019-05-07 04:00

edit pkgbuild, please -_-

ktamp commented on 2019-05-02 19:06

Please add '--abbrev=0' to _tag() in order to fix pkgver() issue.

luntik2012 commented on 2019-05-01 10:15

official nim from testing is broken too...

Cloning into 'nimble'...
done.
==> Starting prepare()...
patching file ./csources/build.sh
Hunk #1 succeeded at 40 with fuzz 3.
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.19.4-2-g7f3b686b8.r1787.c94ab4692
==> ERROR: Makepkg was unable to build nim-git.
==> Restart building nimble-git ? [y/N]

0x647262 commented on 2019-01-06 19:29

@tejasjadhav

Please read the following documentation: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Guidelines

EDIT:

Nevermind... There are some discrepancies between master and devel that are preventing pkgver from picking up the tags correctly. I'll update pkgver() to accommodate for this.

Apologies for my initial hostility, I got a bit defensive since *-git packages often get wrongly flagged as out-of-date.