Merge pull request #286993 from christoph-heiss/srht-updates-next-round

sourcehut: update all components

authored by tomberek and committed by GitHub 6e60c852 5e1f0770

+136 -113
+1 -1
nixos/modules/services/misc/sourcehut/default.nix
··· 1370 ]; 1371 1372 meta.doc = ./default.md; 1373 - meta.maintainers = with maintainers; [ tomberek nessdoor ]; 1374 }
··· 1370 ]; 1371 1372 meta.doc = ./default.md; 1373 + meta.maintainers = with maintainers; [ tomberek nessdoor christoph-heiss ]; 1374 }
+10 -9
pkgs/applications/version-management/sourcehut/builds.nix
··· 16 , setuptools 17 }: 18 let 19 - version = "0.86.10"; 20 21 src = fetchFromSourcehut { 22 owner = "~sircmpwn"; 23 repo = "builds.sr.ht"; 24 rev = version; 25 - hash = "sha256-frwJgwJst2/NWd8VR0KbsVwm8JfWuekkY2oIIAdh3Fw="; 26 }; 27 28 buildsrht-api = buildGoModule ({ 29 inherit src version; 30 pname = "buildsrht-api"; 31 modRoot = "api"; 32 - vendorHash = "sha256-2khk7j22KON4MsuvFUNKSUpouJtVIOxE0hkh63iaxZ4="; 33 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.29"; }); 34 35 - buildsrht-worker = buildGoModule { 36 inherit src version; 37 - sourceRoot = "${src.name}/worker"; 38 pname = "buildsrht-worker"; 39 - vendorHash = "sha256-obdaeRwMhuiCV2kVwDo1c+rU/hmsbiL1IgAf7AcIpoc="; 40 - }; 41 in 42 buildPythonPackage rec { 43 inherit src version; ··· 88 homepage = "https://git.sr.ht/~sircmpwn/builds.sr.ht"; 89 description = "Continuous integration service for the sr.ht network"; 90 license = licenses.agpl3Only; 91 - maintainers = with maintainers; [ eadwu ]; 92 }; 93 }
··· 16 , setuptools 17 }: 18 let 19 + version = "0.89.13"; 20 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.39"; }; 21 22 src = fetchFromSourcehut { 23 owner = "~sircmpwn"; 24 repo = "builds.sr.ht"; 25 rev = version; 26 + hash = "sha256-JpRVRzuHB6cgk/qW1j4zF8/K1xwz3J4nZhijmz5kVWU="; 27 }; 28 29 buildsrht-api = buildGoModule ({ 30 inherit src version; 31 pname = "buildsrht-api"; 32 modRoot = "api"; 33 + vendorHash = "sha256-kTqoUfFEoNdDDzVNJ7XIbH7tbsl5MdBL+/UDHFv7D+A="; 34 + } // gqlgen); 35 36 + buildsrht-worker = buildGoModule ({ 37 inherit src version; 38 pname = "buildsrht-worker"; 39 + modRoot = "worker"; 40 + vendorHash = "sha256-kTqoUfFEoNdDDzVNJ7XIbH7tbsl5MdBL+/UDHFv7D+A="; 41 + } // gqlgen); 42 in 43 buildPythonPackage rec { 44 inherit src version; ··· 89 homepage = "https://git.sr.ht/~sircmpwn/builds.sr.ht"; 90 description = "Continuous integration service for the sr.ht network"; 91 license = licenses.agpl3Only; 92 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 93 }; 94 }
+3 -3
pkgs/applications/version-management/sourcehut/core.nix
··· 28 29 buildPythonPackage rec { 30 pname = "srht"; 31 - version = "0.69.15"; 32 pyproject = true; 33 34 disabled = pythonOlder "3.7"; ··· 37 owner = "~sircmpwn"; 38 repo = "core.sr.ht"; 39 rev = version; 40 - sha256 = "sha256-T9yewweqnWL3IW5PHGyAcsIWCGn1ayK2rwrHVukYpgE="; 41 fetchSubmodules = true; 42 }; 43 ··· 89 homepage = "https://git.sr.ht/~sircmpwn/srht"; 90 description = "Core modules for sr.ht"; 91 license = licenses.bsd3; 92 - maintainers = with maintainers; [ eadwu ]; 93 }; 94 }
··· 28 29 buildPythonPackage rec { 30 pname = "srht"; 31 + version = "0.71.5"; 32 pyproject = true; 33 34 disabled = pythonOlder "3.7"; ··· 37 owner = "~sircmpwn"; 38 repo = "core.sr.ht"; 39 rev = version; 40 + hash = "sha256-YIoKOiTi/9X4bSiG+GvnwzvKYhbfywrv/dTjxaJOOTQ="; 41 fetchSubmodules = true; 42 }; 43 ··· 89 homepage = "https://git.sr.ht/~sircmpwn/srht"; 90 description = "Core modules for sr.ht"; 91 license = licenses.bsd3; 92 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 93 }; 94 }
+1 -1
pkgs/applications/version-management/sourcehut/fix-gqlgen-trimpath.nix
··· 1 { unzip 2 - , gqlgenVersion ? "0.17.20" 3 }: 4 { 5 overrideModAttrs = (_: {
··· 1 { unzip 2 + , gqlgenVersion ? "0.17.42" 3 }: 4 { 5 overrideModAttrs = (_: {
+18 -18
pkgs/applications/version-management/sourcehut/git.nix
··· 13 , setuptools 14 }: 15 let 16 - version = "0.84.2"; 17 18 src = fetchFromSourcehut { 19 owner = "~sircmpwn"; 20 repo = "git.sr.ht"; 21 rev = version; 22 - sha256 = "sha256-sAkTsQlWtNDQ5vAhA2EeOvuJcj9A6AG8pgDyIKtr65s="; 23 }; 24 25 gitApi = buildGoModule ({ 26 inherit src version; 27 pname = "gitsrht-api"; 28 modRoot = "api"; 29 - vendorHash = "sha256-LAYp0zgosZnFEbtxzjuTH9++0lbxhACr705HqXJz3D0="; 30 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 31 32 - gitDispatch = buildGoModule { 33 inherit src version; 34 pname = "gitsrht-dispatch"; 35 modRoot = "gitsrht-dispatch"; 36 - vendorHash = "sha256-EDvSZ3/g0xDSohrsAIpNhk+F0yy8tbnTW/3tURTonMc="; 37 38 postPatch = '' 39 substituteInPlace gitsrht-dispatch/main.go \ 40 --replace /var/log/gitsrht-dispatch /var/log/sourcehut/gitsrht-dispatch 41 ''; 42 - }; 43 44 - gitKeys = buildGoModule { 45 inherit src version; 46 pname = "gitsrht-keys"; 47 modRoot = "gitsrht-keys"; 48 - vendorHash = "sha256-9pojS69HCKVHUceyOpGtv9ewcxFD4WsOVsEzkmWJkF4="; 49 50 postPatch = '' 51 substituteInPlace gitsrht-keys/main.go \ 52 --replace /var/log/gitsrht-keys /var/log/sourcehut/gitsrht-keys 53 ''; 54 - }; 55 56 - gitShell = buildGoModule { 57 inherit src version; 58 pname = "gitsrht-shell"; 59 modRoot = "gitsrht-shell"; 60 - vendorHash = "sha256-WqfvSPuVsOHA//86u33atMfeA11+DJhjLmWy8Ivq0NI="; 61 62 postPatch = '' 63 substituteInPlace gitsrht-shell/main.go \ 64 --replace /var/log/gitsrht-shell /var/log/sourcehut/gitsrht-shell 65 ''; 66 - }; 67 68 - gitUpdateHook = buildGoModule { 69 inherit src version; 70 pname = "gitsrht-update-hook"; 71 modRoot = "gitsrht-update-hook"; 72 - vendorHash = "sha256-Bc3yPabS2S+qiroHFKrtkII/CfzBDYQ6xWxKHAME+Tc="; 73 74 postPatch = '' 75 substituteInPlace gitsrht-update-hook/main.go \ 76 --replace /var/log/gitsrht-update-hook /var/log/sourcehut/gitsrht-update-hook 77 ''; 78 - }; 79 - 80 in 81 buildPythonPackage rec { 82 inherit src version; ··· 122 homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht"; 123 description = "Git repository hosting service for the sr.ht network"; 124 license = licenses.agpl3Only; 125 - maintainers = with maintainers; [ eadwu ]; 126 }; 127 }
··· 13 , setuptools 14 }: 15 let 16 + version = "0.85.7"; 17 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; }; 18 19 src = fetchFromSourcehut { 20 owner = "~sircmpwn"; 21 repo = "git.sr.ht"; 22 rev = version; 23 + hash = "sha256-jkESrrVE+0O2g64zzPOpqhl8DpvmosQvuF0s6Xd+lbM="; 24 }; 25 26 gitApi = buildGoModule ({ 27 inherit src version; 28 pname = "gitsrht-api"; 29 modRoot = "api"; 30 + vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0="; 31 + } // gqlgen); 32 33 + gitDispatch = buildGoModule ({ 34 inherit src version; 35 pname = "gitsrht-dispatch"; 36 modRoot = "gitsrht-dispatch"; 37 + vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0="; 38 39 postPatch = '' 40 substituteInPlace gitsrht-dispatch/main.go \ 41 --replace /var/log/gitsrht-dispatch /var/log/sourcehut/gitsrht-dispatch 42 ''; 43 + } // gqlgen); 44 45 + gitKeys = buildGoModule ({ 46 inherit src version; 47 pname = "gitsrht-keys"; 48 modRoot = "gitsrht-keys"; 49 + vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0="; 50 51 postPatch = '' 52 substituteInPlace gitsrht-keys/main.go \ 53 --replace /var/log/gitsrht-keys /var/log/sourcehut/gitsrht-keys 54 ''; 55 + } // gqlgen); 56 57 + gitShell = buildGoModule ({ 58 inherit src version; 59 pname = "gitsrht-shell"; 60 modRoot = "gitsrht-shell"; 61 + vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0="; 62 63 postPatch = '' 64 substituteInPlace gitsrht-shell/main.go \ 65 --replace /var/log/gitsrht-shell /var/log/sourcehut/gitsrht-shell 66 ''; 67 + } // gqlgen); 68 69 + gitUpdateHook = buildGoModule ({ 70 inherit src version; 71 pname = "gitsrht-update-hook"; 72 modRoot = "gitsrht-update-hook"; 73 + vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0="; 74 75 postPatch = '' 76 substituteInPlace gitsrht-update-hook/main.go \ 77 --replace /var/log/gitsrht-update-hook /var/log/sourcehut/gitsrht-update-hook 78 ''; 79 + } // gqlgen); 80 in 81 buildPythonPackage rec { 82 inherit src version; ··· 122 homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht"; 123 description = "Git repository hosting service for the sr.ht network"; 124 license = licenses.agpl3Only; 125 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 126 }; 127 }
+18 -13
pkgs/applications/version-management/sourcehut/hg.nix
··· 13 , setuptools 14 }: 15 16 - buildPythonPackage rec { 17 - pname = "hgsrht"; 18 version = "0.32.4"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "~sircmpwn"; 25 repo = "hg.sr.ht"; 26 rev = version; 27 - sha256 = "mYkA44c9wy/Iy1h1lXkVpc9gN7rQXFm4T3YBlQ1Dj60="; 28 vc = "hg"; 29 }; 30 31 - postPatch = '' 32 - substituteInPlace Makefile \ 33 - --replace "all: api hgsrht-keys" "" 34 - 35 - substituteInPlace hgsrht-shell \ 36 - --replace /var/log/hgsrht-shell /var/log/sourcehut/hgsrht-shell 37 - ''; 38 - 39 hgsrht-api = buildGoModule ({ 40 inherit src version; 41 pname = "hgsrht-api"; 42 modRoot = "api"; 43 vendorHash = "sha256-vuOYpnF3WjA6kOe9MVSuVMhJBQqCmIex+QUBJrP+VDs="; 44 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 45 46 hgsrht-keys = buildGoModule { 47 inherit src version; ··· 54 --replace /var/log/hgsrht-keys /var/log/sourcehut/hgsrht-keys 55 ''; 56 }; 57 58 nativeBuildInputs = [ 59 pip ··· 83 homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht"; 84 description = "Mercurial repository hosting service for the sr.ht network"; 85 license = licenses.agpl3Only; 86 - maintainers = with maintainers; [ eadwu ]; 87 }; 88 }
··· 13 , setuptools 14 }: 15 16 + let 17 version = "0.32.4"; 18 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.20"; }; 19 + 20 pyproject = true; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "~sircmpwn"; 26 repo = "hg.sr.ht"; 27 rev = version; 28 + hash = "sha256-mYkA44c9wy/Iy1h1lXkVpc9gN7rQXFm4T3YBlQ1Dj60="; 29 vc = "hg"; 30 }; 31 32 hgsrht-api = buildGoModule ({ 33 inherit src version; 34 pname = "hgsrht-api"; 35 modRoot = "api"; 36 vendorHash = "sha256-vuOYpnF3WjA6kOe9MVSuVMhJBQqCmIex+QUBJrP+VDs="; 37 + } // gqlgen); 38 39 hgsrht-keys = buildGoModule { 40 inherit src version; ··· 47 --replace /var/log/hgsrht-keys /var/log/sourcehut/hgsrht-keys 48 ''; 49 }; 50 + in 51 + buildPythonPackage rec { 52 + inherit src version; 53 + pname = "hgsrht"; 54 + 55 + postPatch = '' 56 + substituteInPlace Makefile \ 57 + --replace "all: api hgsrht-keys" "" 58 + 59 + substituteInPlace hgsrht-shell \ 60 + --replace /var/log/hgsrht-shell /var/log/sourcehut/hgsrht-shell 61 + ''; 62 63 nativeBuildInputs = [ 64 pip ··· 88 homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht"; 89 description = "Mercurial repository hosting service for the sr.ht network"; 90 license = licenses.agpl3Only; 91 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 92 }; 93 }
+18 -14
pkgs/applications/version-management/sourcehut/hub.nix
··· 11 , unzip 12 }: 13 14 - buildPythonPackage rec { 15 - pname = "hubsrht"; 16 - version = "0.17.2"; 17 - pyproject = true; 18 - 19 - disabled = pythonOlder "3.7"; 20 21 src = fetchFromSourcehut { 22 owner = "~sircmpwn"; 23 repo = "hub.sr.ht"; 24 rev = version; 25 - sha256 = "sha256-A+lvRsPz5EBnM0gB4PJuxSMpELZTrK14ORxDbTKPXWg="; 26 }; 27 - 28 - postPatch = '' 29 - substituteInPlace Makefile --replace "all: api" "" 30 - ''; 31 32 hubsrht-api = buildGoModule ({ 33 inherit src version; 34 pname = "hubsrht-api"; 35 modRoot = "api"; 36 - vendorHash = "sha256-K5EmZ4U+xItTR85+SCwhwg5KUGLkKHo9Nr2pkvmJpfo="; 37 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 38 39 nativeBuildInputs = [ 40 pip ··· 67 homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht"; 68 description = "Project hub service for the sr.ht network"; 69 license = licenses.agpl3Only; 70 - maintainers = with maintainers; [ eadwu ]; 71 }; 72 }
··· 11 , unzip 12 }: 13 14 + let 15 + version = "0.17.5"; 16 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.41"; }; 17 18 src = fetchFromSourcehut { 19 owner = "~sircmpwn"; 20 repo = "hub.sr.ht"; 21 rev = version; 22 + hash = "sha256-GbBxK3XE+Y6Jiap0Nxa8vk4Kv6IbcdSi4NN59AeKwjA="; 23 }; 24 25 hubsrht-api = buildGoModule ({ 26 inherit src version; 27 pname = "hubsrht-api"; 28 modRoot = "api"; 29 + vendorHash = "sha256-wmuM0SxQbohTDaU8zmkw1TQTmqhOy1yAl1jRWk6TKL8="; 30 + } // gqlgen); 31 + in 32 + buildPythonPackage rec { 33 + inherit src version; 34 + pname = "hubsrht"; 35 + pyproject = true; 36 + 37 + disabled = pythonOlder "3.7"; 38 + 39 + postPatch = '' 40 + substituteInPlace Makefile --replace "all: api" "" 41 + ''; 42 43 nativeBuildInputs = [ 44 pip ··· 71 homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht"; 72 description = "Project hub service for the sr.ht network"; 73 license = licenses.agpl3Only; 74 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 75 }; 76 }
+14 -10
pkgs/applications/version-management/sourcehut/lists.nix
··· 14 , setuptools 15 }: 16 17 - buildPythonPackage rec { 18 - pname = "listssrht"; 19 - version = "0.57.8"; 20 - pyproject = true; 21 - 22 - disabled = pythonOlder "3.7"; 23 24 src = fetchFromSourcehut { 25 owner = "~sircmpwn"; 26 repo = "lists.sr.ht"; 27 rev = version; 28 - sha256 = "sha256-nQZRSTAyTWxcPHrRVCZ5TgcrNgrlxBFc1vRds0cQwA0="; 29 }; 30 31 listssrht-api = buildGoModule ({ 32 inherit src version; 33 pname = "listssrht-api"; 34 modRoot = "api"; 35 - vendorHash = "sha256-E5Zzft9ANJT/nhhCuenZpdo3t9QYLmA+AyDyrbGectE="; 36 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 37 38 postPatch = '' 39 substituteInPlace Makefile \ ··· 69 homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht"; 70 description = "Mailing list service for the sr.ht network"; 71 license = licenses.agpl3Only; 72 - maintainers = with maintainers; [ eadwu ]; 73 }; 74 }
··· 14 , setuptools 15 }: 16 17 + let 18 + version = "0.57.14"; 19 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.36"; }; 20 21 src = fetchFromSourcehut { 22 owner = "~sircmpwn"; 23 repo = "lists.sr.ht"; 24 rev = version; 25 + hash = "sha256-rzOxlat7Lbgt0Wl6vvnAC+fS3MynFVKFvVdIdxgA5e0="; 26 }; 27 28 listssrht-api = buildGoModule ({ 29 inherit src version; 30 pname = "listssrht-api"; 31 modRoot = "api"; 32 + vendorHash = "sha256-OWgrPvXVlvJPcoABP0ZxKzoYFhU44j/I44sBBRbd6KY="; 33 + } // gqlgen); 34 + in 35 + buildPythonPackage rec { 36 + inherit src version; 37 + pname = "listssrht"; 38 + pyproject = true; 39 + 40 + disabled = pythonOlder "3.7"; 41 42 postPatch = '' 43 substituteInPlace Makefile \ ··· 73 homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht"; 74 description = "Mailing list service for the sr.ht network"; 75 license = licenses.agpl3Only; 76 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 77 }; 78 }
+18 -14
pkgs/applications/version-management/sourcehut/man.nix
··· 11 , setuptools 12 }: 13 14 - buildPythonPackage rec { 15 - pname = "mansrht"; 16 - version = "0.16.1"; 17 - pyproject = true; 18 - 19 - disabled = pythonOlder "3.7"; 20 21 src = fetchFromSourcehut { 22 owner = "~sircmpwn"; 23 repo = "man.sr.ht"; 24 rev = version; 25 - sha256 = "sha256-94G9/Kzt1gaQ2CaXtsJYCB6W5OTdn27XhVdpNJ9a5cE="; 26 }; 27 28 - postPatch = '' 29 - substituteInPlace Makefile --replace "all: api" "" 30 - ''; 31 - 32 mansrht-api = buildGoModule ({ 33 inherit src version; 34 pname = "mansrht-api"; 35 modRoot = "api"; 36 - vendorHash = "sha256-K5EmZ4U+xItTR85+SCwhwg5KUGLkKHo9Nr2pkvmJpfo="; 37 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 38 39 nativeBuildInputs = [ 40 pip ··· 61 homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht"; 62 description = "Wiki service for the sr.ht network"; 63 license = licenses.agpl3Only; 64 - maintainers = with maintainers; [ eadwu ]; 65 }; 66 }
··· 11 , setuptools 12 }: 13 14 + let 15 + version = "0.16.3"; 16 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.36"; }; 17 18 src = fetchFromSourcehut { 19 owner = "~sircmpwn"; 20 repo = "man.sr.ht"; 21 rev = version; 22 + hash = "sha256-o1A3LmwH6WgpFqjKyL3UTru9q7TgKdOdbKZfJHR6fCA="; 23 }; 24 25 mansrht-api = buildGoModule ({ 26 inherit src version; 27 pname = "mansrht-api"; 28 modRoot = "api"; 29 + vendorHash = "sha256-6AzKWytdyuofCFaDEdeO24mv1mtpnQEJydrjVWGY2eU="; 30 + } // gqlgen); 31 + in 32 + buildPythonPackage rec { 33 + inherit src version; 34 + pname = "mansrht"; 35 + pyproject = true; 36 + 37 + disabled = pythonOlder "3.7"; 38 + 39 + postPatch = '' 40 + substituteInPlace Makefile --replace "all: api" "" 41 + ''; 42 43 nativeBuildInputs = [ 44 pip ··· 65 homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht"; 66 description = "Wiki service for the sr.ht network"; 67 license = licenses.agpl3Only; 68 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 69 }; 70 }
+6 -6
pkgs/applications/version-management/sourcehut/meta.nix
··· 18 , setuptools 19 }: 20 let 21 - version = "0.64.8"; 22 23 src = fetchFromSourcehut { 24 owner = "~sircmpwn"; 25 repo = "meta.sr.ht"; 26 rev = version; 27 - hash = "sha256-eiNvoy68PvjZ3iwdeNPjsXJjxAXb2PMF1/HvJquWa/U="; 28 }; 29 30 metasrht-api = buildGoModule ({ 31 inherit src version; 32 pname = "metasrht-api"; 33 modRoot = "api"; 34 - vendorHash = "sha256-D3stDSb99uXze49kKZgGrAq5Zmg6hkIzIpsQKlnKVtE="; 35 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 36 - 37 in 38 buildPythonPackage rec { 39 pname = "metasrht"; ··· 80 homepage = "https://git.sr.ht/~sircmpwn/meta.sr.ht"; 81 description = "Account management service for the sr.ht network"; 82 license = licenses.agpl3Only; 83 - maintainers = with maintainers; [ eadwu ]; 84 }; 85 }
··· 18 , setuptools 19 }: 20 let 21 + version = "0.68.5"; 22 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.36"; }; 23 24 src = fetchFromSourcehut { 25 owner = "~sircmpwn"; 26 repo = "meta.sr.ht"; 27 rev = version; 28 + hash = "sha256-mwUqBzi7nMTZL7uwv7hBjGkO8U3krXXpvfUCaYHgHBU="; 29 }; 30 31 metasrht-api = buildGoModule ({ 32 inherit src version; 33 pname = "metasrht-api"; 34 modRoot = "api"; 35 + vendorHash = "sha256-4T1xnHDjxsIyddA51exNwwz6ZWeuT7N8LBsCJ7c8sRI="; 36 + } // gqlgen); 37 in 38 buildPythonPackage rec { 39 pname = "metasrht"; ··· 80 homepage = "https://git.sr.ht/~sircmpwn/meta.sr.ht"; 81 description = "Account management service for the sr.ht network"; 82 license = licenses.agpl3Only; 83 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 84 }; 85 }
+4 -4
pkgs/applications/version-management/sourcehut/pages.nix
··· 6 7 buildGoModule (rec { 8 pname = "pagessrht"; 9 - version = "0.13.0"; 10 11 src = fetchFromSourcehut { 12 owner = "~sircmpwn"; 13 repo = "pages.sr.ht"; 14 rev = version; 15 - sha256 = "sha256-vUN6c6cyhcLI8bKrFYKoxlBQ29VS/bowpSfBRmi47wg="; 16 }; 17 18 postPatch = '' ··· 20 --replace "all: server" "" 21 ''; 22 23 - vendorHash = "sha256-GKuHkUqSVBLN3k8YsFtxdmdHFkqKo9YZqDk2GBmbfWo="; 24 25 postInstall = '' 26 mkdir -p $out/share/sql/ ··· 31 homepage = "https://git.sr.ht/~sircmpwn/pages.sr.ht"; 32 description = "Web hosting service for the sr.ht network"; 33 license = licenses.agpl3Only; 34 - maintainers = with maintainers; [ eadwu ]; 35 }; 36 # There is no ./loaders but this does not cause troubles 37 # to go generate
··· 6 7 buildGoModule (rec { 8 pname = "pagessrht"; 9 + version = "0.15.4"; 10 11 src = fetchFromSourcehut { 12 owner = "~sircmpwn"; 13 repo = "pages.sr.ht"; 14 rev = version; 15 + hash = "sha256-3kdQVIL7xaIPu2elxj1k+4/y75bd+OKP5+VPSniF7w8="; 16 }; 17 18 postPatch = '' ··· 20 --replace "all: server" "" 21 ''; 22 23 + vendorHash = "sha256-DP+6rxjiXzs0RbSuMD20XwO/+v7QXCNgXj2LxZ96lWE="; 24 25 postInstall = '' 26 mkdir -p $out/share/sql/ ··· 31 homepage = "https://git.sr.ht/~sircmpwn/pages.sr.ht"; 32 description = "Web hosting service for the sr.ht network"; 33 license = licenses.agpl3Only; 34 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 35 }; 36 # There is no ./loaders but this does not cause troubles 37 # to go generate
+4 -3
pkgs/applications/version-management/sourcehut/paste.nix
··· 13 14 let 15 version = "0.15.2"; 16 17 src = fetchFromSourcehut { 18 owner = "~sircmpwn"; 19 repo = "paste.sr.ht"; 20 rev = version; 21 - sha256 = "sha256-ZZzcd14Jbo1MfET7B56X/fl9xWXpCJ8TuKrGVgJwZfQ="; 22 }; 23 24 pastesrht-api = buildGoModule ({ ··· 26 pname = "pastesrht-api"; 27 modRoot = "api"; 28 vendorHash = "sha256-jiE73PUPSHxtWp7XBdH4mJw95pXmZjCl4tk2wQUf2M4="; 29 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 30 in 31 buildPythonPackage rec { 32 inherit src version; ··· 66 homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht"; 67 description = "Ad-hoc text file hosting service for the sr.ht network"; 68 license = licenses.agpl3Only; 69 - maintainers = with maintainers; [ eadwu nessdoor ]; 70 }; 71 }
··· 13 14 let 15 version = "0.15.2"; 16 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.20"; }; 17 18 src = fetchFromSourcehut { 19 owner = "~sircmpwn"; 20 repo = "paste.sr.ht"; 21 rev = version; 22 + hash = "sha256-ZZzcd14Jbo1MfET7B56X/fl9xWXpCJ8TuKrGVgJwZfQ="; 23 }; 24 25 pastesrht-api = buildGoModule ({ ··· 27 pname = "pastesrht-api"; 28 modRoot = "api"; 29 vendorHash = "sha256-jiE73PUPSHxtWp7XBdH4mJw95pXmZjCl4tk2wQUf2M4="; 30 + } // gqlgen); 31 in 32 buildPythonPackage rec { 33 inherit src version; ··· 67 homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht"; 68 description = "Ad-hoc text file hosting service for the sr.ht network"; 69 license = licenses.agpl3Only; 70 + maintainers = with maintainers; [ eadwu nessdoor christoph-heiss ]; 71 }; 72 }
+2 -2
pkgs/applications/version-management/sourcehut/scm.nix
··· 19 owner = "~sircmpwn"; 20 repo = "scm.sr.ht"; 21 rev = version; 22 - sha256 = "sha256-058dOEYJDY3jtxH1VkV1CFq5CZTkauSnTWg57DCnNtw="; 23 }; 24 25 nativeBuildInputs = [ ··· 44 homepage = "https://git.sr.ht/~sircmpwn/scm.sr.ht"; 45 description = "Shared support code for sr.ht source control services."; 46 license = licenses.agpl3Only; 47 - maintainers = with maintainers; [ eadwu ]; 48 }; 49 }
··· 19 owner = "~sircmpwn"; 20 repo = "scm.sr.ht"; 21 rev = version; 22 + hash = "sha256-058dOEYJDY3jtxH1VkV1CFq5CZTkauSnTWg57DCnNtw="; 23 }; 24 25 nativeBuildInputs = [ ··· 44 homepage = "https://git.sr.ht/~sircmpwn/scm.sr.ht"; 45 description = "Shared support code for sr.ht source control services."; 46 license = licenses.agpl3Only; 47 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 48 }; 49 }
+19 -15
pkgs/applications/version-management/sourcehut/todo.nix
··· 12 , setuptools 13 }: 14 15 - buildPythonPackage rec { 16 - pname = "todosrht"; 17 - version = "0.74.6"; 18 - pyproject = true; 19 - 20 - disabled = pythonOlder "3.7"; 21 22 src = fetchFromSourcehut { 23 owner = "~sircmpwn"; 24 repo = "todo.sr.ht"; 25 rev = version; 26 - sha256 = "sha256-j12pCGfKf6+9R8NOBIrH2V4OuSMuncU6S1AMWFVoHts="; 27 }; 28 - 29 - postPatch = '' 30 - substituteInPlace Makefile \ 31 - --replace "all: api" "" 32 - ''; 33 34 todosrht-api = buildGoModule ({ 35 inherit src version; 36 pname = "todosrht-api"; 37 modRoot = "api"; 38 - vendorHash = "sha256-rvfG5F6ez8UM0dYVhKfzwtb7ZEJlaKMBAfKDbo3Aofc="; 39 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; }); 40 41 nativeBuildInputs = [ 42 setuptools ··· 69 homepage = "https://todo.sr.ht/~sircmpwn/todo.sr.ht"; 70 description = "Ticket tracking service for the sr.ht network"; 71 license = licenses.agpl3Only; 72 - maintainers = with maintainers; [ eadwu ]; 73 }; 74 }
··· 12 , setuptools 13 }: 14 15 + let 16 + version = "0.75.6"; 17 + gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.36"; }; 18 19 src = fetchFromSourcehut { 20 owner = "~sircmpwn"; 21 repo = "todo.sr.ht"; 22 rev = version; 23 + hash = "sha256-BPJ1M9dX+xNIw++VZ0Si/rjnfI9BY95TE2o+u7JRVAU="; 24 }; 25 26 todosrht-api = buildGoModule ({ 27 inherit src version; 28 pname = "todosrht-api"; 29 modRoot = "api"; 30 + vendorHash = "sha256-vTKIJFE8AFR2eZFwG9ba6FWPW02og3ZVcrsqUnOkJIQ="; 31 + } // gqlgen); 32 + in 33 + buildPythonPackage rec { 34 + inherit src version; 35 + pname = "todosrht"; 36 + pyproject = true; 37 + 38 + disabled = pythonOlder "3.7"; 39 + 40 + postPatch = '' 41 + substituteInPlace Makefile \ 42 + --replace "all: api" "" 43 + ''; 44 45 nativeBuildInputs = [ 46 setuptools ··· 73 homepage = "https://todo.sr.ht/~sircmpwn/todo.sr.ht"; 74 description = "Ticket tracking service for the sr.ht network"; 75 license = licenses.agpl3Only; 76 + maintainers = with maintainers; [ eadwu christoph-heiss ]; 77 }; 78 }