From ac74586ff355df5e14242a5ad0bad23ede23a36e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Mar 2024 09:22:29 +0200 Subject: gnu: syncthing: Mark as tunable. * gnu/packages/syncthing.scm (syncthing)[properties]: Mark package as tunable. Change-Id: Ia885bbd32f043e83b231359cca438ea9caf4e8dc --- gnu/packages/syncthing.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index d09b03bcdb..744b857070 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -129,7 +129,9 @@ Protocol.") (home-page "https://github.com/syncthing/syncthing") (properties '((release-monitoring-url . "https://syncthing.net/downloads/") - (upstream-name . "syncthing-source"))) + (upstream-name . "syncthing-source") + ;; The hashing code greatly benefits from newer architecture support. + (tunable? . #t))) (license mpl2.0))) (define-public syncthing-gtk -- cgit v1.2.3 From 2f0aba1fd47b5539d6d8577ccb67b9118a7b8635 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 29 Feb 2024 08:15:46 +0000 Subject: gnu: go-github-com-beorn7-perks-quantile: Update to 1.0.1. * gnu/packages/syncthing.scm (go-github-com-beorn7-perks-quantile): Update to 1.0.1. Change-Id: Ie8c864dbc15b3aef3e4575337b940b625d6f9bbf --- gnu/packages/syncthing.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 744b857070..3612f16414 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -709,20 +709,18 @@ notification library in Go.") (license expat)))) (define-public go-github-com-beorn7-perks-quantile - (let ((commit "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9") - (revision "0")) (package (name "go-github-com-beorn7-perks-quantile") - (version (git-version "0.0.0" revision commit)) + (version "1.0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/beorn7/perks") - (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y")))) + "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7")))) (build-system go-build-system) (arguments '(#:import-path "github.com/beorn7/perks/quantile" @@ -732,7 +730,7 @@ notification library in Go.") approximate quantiles over an unbounded data stream within low memory and CPU bounds.") (home-page "https://github.com/beorn7/perks") - (license expat)))) + (license expat))) (define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c") -- cgit v1.2.3 From 9e2d8ed8fdb71093f97ae96aa5df0cd31d3fb6b5 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 29 Feb 2024 08:18:09 +0000 Subject: gnu: go-github-com-beorn7-perks-quantile: Fix indentation. * gnu/packages/syncthing.scm (go-github-com-beorn7-perks-quantile): Fix indentation. Change-Id: Id159b4314fc25ecebc0737221995823e28045626 --- gnu/packages/syncthing.scm | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 3612f16414..472b49f245 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -709,28 +709,29 @@ notification library in Go.") (license expat)))) (define-public go-github-com-beorn7-perks-quantile - (package - (name "go-github-com-beorn7-perks-quantile") - (version "1.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/beorn7/perks") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/beorn7/perks/quantile" - #:unpack-path "github.com/beorn7/perks")) - (synopsis "Compute approximate quantiles over an unbounded data stream") - (description "Perks contains the Go package @code{quantile} that computes + (package + (name "go-github-com-beorn7-perks-quantile") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beorn7/perks") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/beorn7/perks/quantile" + #:unpack-path "github.com/beorn7/perks")) + (synopsis "Compute approximate quantiles over an unbounded data stream") + (description + "Perks contains the Go package @code{quantile} that computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.") - (home-page "https://github.com/beorn7/perks") - (license expat))) + (home-page "https://github.com/beorn7/perks") + (license expat))) (define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c") -- cgit v1.2.3 From 5b59c149e018e880f76407ec61df8d20ac063ece Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 15 Mar 2024 23:43:58 +0000 Subject: gnu: go-github-com-beorn7-perks-quantile: Move to golang-xyz. * gnu/packages/syncthing.scm (go-github-com-beorn7-perks-quantile): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I09a2080b78fd3273af75cbbbb49718bb8eec86e5 --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ gnu/packages/syncthing.scm | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 2b0aa97f99..ef700b9373 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -237,6 +237,31 @@ interface around the standard library's @code{time} package so that the applicat can use the realtime clock while tests can use the mock clock.") (license license:expat))) +(define-public go-github-com-beorn7-perks-quantile + (package + (name "go-github-com-beorn7-perks-quantile") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beorn7/perks") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/beorn7/perks/quantile" + #:unpack-path "github.com/beorn7/perks")) + (home-page "https://github.com/beorn7/perks") + (synopsis "Compute approximate quantiles over an unbounded data stream") + (description + "Perks contains the Go package @code{quantile} that computes +approximate quantiles over an unbounded data stream within low memory and CPU +bounds.") + (license license:expat))) + (define-public go-github-com-bitly-go-hostpool (package (name "go-github-com-bitly-go-hostpool") diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 472b49f245..ebbf8b82bb 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -708,31 +708,6 @@ notification library in Go.") (home-page "https://github.com/syncthing/notify") (license expat)))) -(define-public go-github-com-beorn7-perks-quantile - (package - (name "go-github-com-beorn7-perks-quantile") - (version "1.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/beorn7/perks") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/beorn7/perks/quantile" - #:unpack-path "github.com/beorn7/perks")) - (synopsis "Compute approximate quantiles over an unbounded data stream") - (description - "Perks contains the Go package @code{quantile} that computes -approximate quantiles over an unbounded data stream within low memory and CPU -bounds.") - (home-page "https://github.com/beorn7/perks") - (license expat))) - (define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c") (revision "0")) -- cgit v1.2.3 From 40d697a30140321865f2c3fff28711d543673474 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 24 Mar 2024 21:49:35 +0000 Subject: gnu: go-github-com-lib-pq: Move to golang-xyz. * gnu/packages/syncthing.scm (go-github-com-lib-pq): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/databases.scm: Remvoe (gnu packages syncthing). Change-Id: I0f2f9c2366fd47b7167044d76f8c2c67a2f65544 --- gnu/packages/databases.scm | 1 - gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ gnu/packages/syncthing.scm | 25 ------------------------- 3 files changed, 28 insertions(+), 26 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index ea49868c06..a1b689744b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -160,7 +160,6 @@ #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) #:use-module (gnu packages sqlite) - #:use-module (gnu packages syncthing) ;for go-github-com-lib-pq #:use-module (gnu packages tcl) #:use-module (gnu packages terminals) #:use-module (gnu packages texinfo) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 65de42f642..6c08e74104 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2019 Brian Leung ;;; Copyright © 2019 Leo Famulari +;;; Copyright © 2019 Vagrant Cascadian ;;; Copyright © 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2020 Joseph LaFreniere ;;; Copyright © 2020 Oleg Pykhalov @@ -1221,6 +1222,33 @@ called concurrently with themselves and each other.") customized globally.") (license license:expat))) +(define-public go-github-com-lib-pq + (package + (name "go-github-com-lib-pq") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lib/pq") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/lib/pq" + ;; The tests seem to fail without access to the network or a running + ;; Postgres instance. + #:tests? #f)) + (home-page "https://github.com/lib/pq") + (synopsis "Golang Postgres driver for Go's database/sql") + (description + "This package provides a pure Go Postgres driver for Go's +database/sql package.") + (license license:expat))) + (define-public go-github-com-matryer-try (package (name "go-github-com-matryer-try") diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index ebbf8b82bb..779e921d65 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -424,31 +424,6 @@ address of the default LAN gateway.") (home-page "https://github.com/jackpal/gateway") (license bsd-3))) -(define-public go-github-com-lib-pq - (package - (name "go-github-com-lib-pq") - (version "1.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/lib/pq") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/lib/pq" - ;; The tests seem to fail without access to the network or a running - ;; Postgres instance. - #:tests? #f)) - (synopsis "Golang Postgres driver for Go's database/sql") - (description "This package provides a pure Go Postgres driver for Go's -database/sql package.") - (home-page "https://github.com/lib/pq") - (license expat))) - (define-public go-github-com-oschwald-geoip2-golang (package (name "go-github-com-oschwald-geoip2-golang") -- cgit v1.2.3