diff options
Diffstat (limited to 'pkgs/by-name/sc')
-rw-r--r-- | pkgs/by-name/sc/scc/package.nix | 35 | ||||
-rw-r--r-- | pkgs/by-name/sc/scdoc/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/sc/scenefx/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/sc/scion/package.nix | 35 | ||||
-rw-r--r-- | pkgs/by-name/sc/scip-go/package.nix | 30 | ||||
-rw-r--r-- | pkgs/by-name/sc/scope-tui/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/sc/scotch/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/sc/screenly-cli/package.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/sc/screentest/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/sc/scrutiny-collector/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/sc/scrutiny/package.nix | 2 |
11 files changed, 80 insertions, 42 deletions
diff --git a/pkgs/by-name/sc/scc/package.nix b/pkgs/by-name/sc/scc/package.nix new file mode 100644 index 0000000000000..8d3f65e1621c9 --- /dev/null +++ b/pkgs/by-name/sc/scc/package.nix @@ -0,0 +1,35 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule rec { + pname = "scc"; + version = "3.3.4"; + + src = fetchFromGitHub { + owner = "boyter"; + repo = "scc"; + rev = "v${version}"; + hash = "sha256-mKKUFW01WVBNfy6z4v3y+yu9DJuLZkQSWpekzmVuMn0="; + }; + + vendorHash = null; + + # scc has a scripts/ sub-package that's for testing. + excludedPackages = [ "scripts" ]; + + meta = with lib; { + homepage = "https://github.com/boyter/scc"; + description = "Very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go"; + maintainers = with maintainers; [ + sigma + Br1ght0ne + ]; + license = with licenses; [ + unlicense + # or + mit + ]; + }; +} diff --git a/pkgs/by-name/sc/scdoc/package.nix b/pkgs/by-name/sc/scdoc/package.nix index 5ad6fb3dbaf4b..1d1f63963f7e9 100644 --- a/pkgs/by-name/sc/scdoc/package.nix +++ b/pkgs/by-name/sc/scdoc/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; meta = { - description = "A simple man page generator written in C99 for POSIX systems"; + description = "Simple man page generator written in C99 for POSIX systems"; homepage = "https://git.sr.ht/~sircmpwn/scdoc"; changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.src.rev}"; license = lib.licenses.mit; diff --git a/pkgs/by-name/sc/scenefx/package.nix b/pkgs/by-name/sc/scenefx/package.nix index c9b50e5af047b..ee92339b9a1fd 100644 --- a/pkgs/by-name/sc/scenefx/package.nix +++ b/pkgs/by-name/sc/scenefx/package.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; meta = { - description = "A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects"; + description = "Drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects"; homepage = "https://github.com/wlrfx/scenefx"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eclairevoyant ]; diff --git a/pkgs/by-name/sc/scion/package.nix b/pkgs/by-name/sc/scion/package.nix index 67321aaa01ff2..830f6deb232f1 100644 --- a/pkgs/by-name/sc/scion/package.nix +++ b/pkgs/by-name/sc/scion/package.nix @@ -1,23 +1,10 @@ { lib , buildGoModule , fetchFromGitHub -, fetchpatch2 , nixosTests }: let - version = "0.10.0"; - - # Injects a `t.Skip()` into a given test since there's apparently no other way to skip tests here. - # ref: https://github.com/NixOS/nixpkgs/blob/047bc33866bf7004d0ce9ed0af78dab5ceddaab0/pkgs/by-name/vi/vikunja/package.nix#L96 - skipTest = lineOffset: testCase: file: - let - jumpAndAppend = lib.concatStringsSep ";" (lib.replicate (lineOffset - 1) "n" ++ [ "a" ]); - in - '' - sed -i -e '/${testCase}/{ - ${jumpAndAppend} t.Skip(); - }' ${file} - ''; + version = "0.11.0"; in buildGoModule { @@ -29,20 +16,13 @@ buildGoModule { owner = "scionproto"; repo = "scion"; rev = "v${version}"; - hash = "sha256-8yXjEDo1k0+7O0gx2acAZMrG/r+iePfNCG+FolCSKwI="; + hash = "sha256-JemqSr1XBwW1hLuWQrApY/hqLj/VpW3xSJedVIoFSiY="; }; - vendorHash = "sha256-4nTp6vOyS7qDn8HmNO0NGCNU7wCb8ww8a15Yv3MPEq8="; + vendorHash = "sha256-akFbHgo8xI2/4aQsyutjhXPM5d0A3se3kG/6Ebw1Qcs="; excludedPackages = [ "acceptance" "demo" "tools" "pkg/private/xtest/graphupdater" ]; - # This can be removed in the next release of scion since its fixed upstream - # https://github.com/scionproto/scion/pull/4476 - postConfigure = '' - # This test needs docker, so lets skip it - ${skipTest 1 "TestOpensslCompatible" "scion-pki/trcs/sign_test.go"} - ''; - postInstall = '' set +e mv $out/bin/gateway $out/bin/scion-ip-gateway @@ -55,19 +35,12 @@ buildGoModule { doCheck = true; - patches = [ - (fetchpatch2 { - url = "https://github.com/scionproto/scion/commit/cb7fa6d6aab55c9eb90556c2b996b87539f8aa02.patch"; - hash = "sha256-mMGJMPB6T7KeDXjEXffdrhzyKwaFmhuisK6PjHOJIdU="; - }) - ]; - passthru.tests = { inherit (nixosTests) scion-freestanding-deployment; }; meta = with lib; { - description = "A future Internet architecture utilizing path-aware networking"; + description = "Future Internet architecture utilizing path-aware networking"; homepage = "https://scion-architecture.net/"; platforms = platforms.unix; license = licenses.asl20; diff --git a/pkgs/by-name/sc/scip-go/package.nix b/pkgs/by-name/sc/scip-go/package.nix new file mode 100644 index 0000000000000..f83f9b488db2d --- /dev/null +++ b/pkgs/by-name/sc/scip-go/package.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "scip-go"; + version = "0.1.14"; + + src = fetchFromGitHub { + owner = "sourcegraph"; + repo = "scip-go"; + rev = "v${version}"; + hash = "sha256-yRYNct1Ok7E57iB01u33QS7ok1kjv6U/7Hm4s/eKKOo="; + }; + + vendorHash = "sha256-R+0E+BnE912vgqUqaaP2dlbbPyJuaCiNxRcedNKGODU="; + + ldflags = [ "-s" "-w" ]; + + doCheck = false; + + meta = with lib; { + description = "SCIP (SCIP Code Intelligence Protocol) indexer for Golang"; + homepage = "https://github.com/sourcegraph/scip-go/tree/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ arikgrahl ]; + mainProgram = "scip-go"; + }; +} diff --git a/pkgs/by-name/sc/scope-tui/package.nix b/pkgs/by-name/sc/scope-tui/package.nix index 850036fd89adc..2cd6569a4bcbe 100644 --- a/pkgs/by-name/sc/scope-tui/package.nix +++ b/pkgs/by-name/sc/scope-tui/package.nix @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage { buildInputs = [ libpulseaudio ]; meta = with lib; { - description = "A simple oscilloscope/vectorscope/spectroscope for your terminal"; + description = "Simple oscilloscope/vectorscope/spectroscope for your terminal"; homepage = "https://github.com/alemidev/scope-tui"; license = licenses.mit; maintainers = with maintainers; [ iynaix ]; diff --git a/pkgs/by-name/sc/scotch/package.nix b/pkgs/by-name/sc/scotch/package.nix index 7a93705cd9140..a76eb47c014f2 100644 --- a/pkgs/by-name/sc/scotch/package.nix +++ b/pkgs/by-name/sc/scotch/package.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "scotch"; - version = "6.1.1"; + version = "7.0.4"; buildInputs = [ bison @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "scotch"; repo = "scotch"; rev = "v${finalAttrs.version}"; - hash = "sha256-GUV6s+P56OAJq9AMe+LZOMPICQO/RuIi+hJAecmO5Wc="; + hash = "sha256-uaox4Q9pTF1r2BZjvnU2LE6XkZw3x9mGSKLdRVUobGU="; }; preConfigure = '' diff --git a/pkgs/by-name/sc/screenly-cli/package.nix b/pkgs/by-name/sc/screenly-cli/package.nix index b2f0cf70ccf7b..6306edc5731cb 100644 --- a/pkgs/by-name/sc/screenly-cli/package.nix +++ b/pkgs/by-name/sc/screenly-cli/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "screenly-cli"; - version = "0.2.5"; + version = "0.2.7"; src = fetchFromGitHub { owner = "screenly"; repo = "cli"; rev = "refs/tags/v${version}"; - hash = "sha256-lRvJuoGxuKeijdFkJp6Gm+zXAhomYdSKCt8ng0cPjZg="; + hash = "sha256-ls8QnOfWRBAkW3q7eFKyoxvHlcI6j/zwIZNn8SMNzy8="; }; - cargoHash = "sha256-7hgm5i3Wr0qX+l3OihlxgBz6UO975bfC9mMXsYJ9Qhw="; + cargoHash = "sha256-rRH9bmsVylGZqMy7qIZlOk4kWBzj7uCruj30/z1nqEE="; nativeBuildInputs = [ pkg-config diff --git a/pkgs/by-name/sc/screentest/package.nix b/pkgs/by-name/sc/screentest/package.nix index 8efba0354e5fd..6d671f608903d 100644 --- a/pkgs/by-name/sc/screentest/package.nix +++ b/pkgs/by-name/sc/screentest/package.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: { ]; meta = with lib; { - description = "A simple screen testing tool"; + description = "Simple screen testing tool"; mainProgram = "screentest"; homepage = "https://github.com/TobiX/screentest"; changelog = "https://github.com/TobiX/screentest/blob/${finalAttrs.src.rev}/NEWS"; diff --git a/pkgs/by-name/sc/scrutiny-collector/package.nix b/pkgs/by-name/sc/scrutiny-collector/package.nix index f7e7a00267c81..b0efd81f76fae 100644 --- a/pkgs/by-name/sc/scrutiny-collector/package.nix +++ b/pkgs/by-name/sc/scrutiny-collector/package.nix @@ -45,7 +45,7 @@ buildGoModule rec { passthru.updateScript = nix-update-script { }; meta = { - description = "Hard disk metrics collector for Scrutiny."; + description = "Hard disk metrics collector for Scrutiny"; homepage = "https://github.com/AnalogJ/scrutiny"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jnsgruk ]; diff --git a/pkgs/by-name/sc/scrutiny/package.nix b/pkgs/by-name/sc/scrutiny/package.nix index 179365c49dfed..98a1f0be8083f 100644 --- a/pkgs/by-name/sc/scrutiny/package.nix +++ b/pkgs/by-name/sc/scrutiny/package.nix @@ -62,7 +62,7 @@ buildGoModule rec { passthru.updatescript = nix-update-script { }; meta = { - description = "Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds."; + description = "Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds"; homepage = "https://github.com/AnalogJ/scrutiny"; changelog = "https://github.com/AnalogJ/scrutiny/releases/tag/v${version}"; license = lib.licenses.mit; |