Merge pull request #150542 from Stunkymonkey/treewide-github-1

treewide: switch to fetchFromGitHub part 1

authored by Felix Bühler and committed by GitHub 85b6f529 9726130c

+135 -98
+6 -4
pkgs/applications/audio/setbfree/default.nix
··· 1 - { lib, stdenv, fetchzip, alsa-lib, freetype, ftgl, libjack2, libX11, lv2 2 , libGLU, libGL, pkg-config, ttf_bitstream_vera 3 }: 4 ··· 6 pname = "setbfree"; 7 version = "0.8.11"; 8 9 - src = fetchzip { 10 - url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz"; 11 - sha256 = "0c2wc8nkrzsy0yic4y7hjz320m3d20r8152j9dk8nsnmgjmyr2ir"; 12 }; 13 14 postPatch = ''
··· 1 + { lib, stdenv, fetchFromGitHub, alsa-lib, freetype, ftgl, libjack2, libX11, lv2 2 , libGLU, libGL, pkg-config, ttf_bitstream_vera 3 }: 4 ··· 6 pname = "setbfree"; 7 version = "0.8.11"; 8 9 + src = fetchFromGitHub { 10 + owner = "pantherb"; 11 + repo = "setBfree"; 12 + rev = "v${version}"; 13 + sha256 = "sha256-OYrsq3zVaotmS1KUgDIQbVQgxpfweMKiB17/PC1iXDA="; 14 }; 15 16 postPatch = ''
+6 -4
pkgs/applications/editors/kdevelop5/kdev-php.nix
··· 1 - { stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }: 2 3 stdenv.mkDerivation rec { 4 pname = "kdev-php"; 5 version = "5.6.2"; 6 7 - src = fetchurl { 8 - url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; 9 - sha256 = "sha256-P7u/KIf/1YkJ2uWsuVThILP87vaYSbHpx5CtnSR3YbU="; 10 }; 11 12 nativeBuildInputs = [ cmake extra-cmake-modules ];
··· 1 + { stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }: 2 3 stdenv.mkDerivation rec { 4 pname = "kdev-php"; 5 version = "5.6.2"; 6 7 + src = fetchFromGitHub { 8 + owner = "KDE"; 9 + repo = "kdev-php"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-hEumH7M6yAuH+jPShOmbKjHmuPRg2djaVy9Xt28eK38="; 12 }; 13 14 nativeBuildInputs = [ cmake extra-cmake-modules ];
+6 -4
pkgs/applications/editors/kdevelop5/kdev-python.nix
··· 1 - { stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }: 2 3 stdenv.mkDerivation rec { 4 pname = "kdev-python"; 5 version = "5.6.2"; 6 7 - src = fetchurl { 8 - url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; 9 - sha256 = "sha256-Iw3puQ3ZS0eNfBvaZ4cxsP49IRqIMX3R+r3OPG771RI="; 10 }; 11 12 cmakeFlags = [
··· 1 + { stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }: 2 3 stdenv.mkDerivation rec { 4 pname = "kdev-python"; 5 version = "5.6.2"; 6 7 + src = fetchFromGitHub { 8 + owner = "KDE"; 9 + repo = "kdev-python"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-xYElqpJjRtBRIyZGf6JaCvurQ+QrGrdLHxtuANYfCds="; 12 }; 13 14 cmakeFlags = [
+7 -5
pkgs/applications/graphics/geeqie/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, autoconf, automake, gettext, intltool 2 , gtk3, lcms2, exiv2, libchamplain, clutter-gtk, ffmpegthumbnailer, fbida 3 , wrapGAppsHook, fetchpatch 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "geeqie"; 8 - version = "1.6.0"; 9 10 - src = fetchurl { 11 - url = "https://github.com/BestImageViewer/geeqie/archive/refs/tags/v1.6.tar.gz"; 12 - sha256 = "0ky248j6n8hszkwwi949i1ypm2l5444byaspaa6564d9rpij01aj"; 13 }; 14 15 patches = [
··· 1 + { lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, gettext, intltool 2 , gtk3, lcms2, exiv2, libchamplain, clutter-gtk, ffmpegthumbnailer, fbida 3 , wrapGAppsHook, fetchpatch 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "geeqie"; 8 + version = "1.6"; 9 10 + src = fetchFromGitHub { 11 + owner = "BestImageViewer"; 12 + repo = "geeqie"; 13 + rev = "v${version}"; 14 + sha256 = "sha256-fvqpimrtzNy2UStOw3qLfC8i8V1fSrmTTsvc1ihqPsU="; 15 }; 16 17 patches = [
+6 -4
pkgs/applications/graphics/scantailor/default.nix
··· 1 - { lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }: 2 3 stdenv.mkDerivation rec { 4 pname = "scantailor"; 5 version = "0.9.12.1"; 6 7 - src = fetchurl { 8 - url = "https://github.com/scantailor/scantailor/archive/RELEASE_${lib.replaceStrings ["."] ["_"] version}.tar.gz"; 9 - sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg"; 10 }; 11 12 nativeBuildInputs = [ cmake ];
··· 1 + { lib, stdenv, fetchFromGitHub, qt4, cmake, libjpeg, libtiff, boost }: 2 3 stdenv.mkDerivation rec { 4 pname = "scantailor"; 5 version = "0.9.12.1"; 6 7 + src = fetchFromGitHub { 8 + owner = "scantailor"; 9 + repo = "scantailor"; 10 + rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}"; 11 + sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+9 -9
pkgs/applications/misc/curaengine/stable.nix
··· 1 - { lib, stdenv, fetchurl }: 2 - let 3 - version = "15.04.6"; 4 - in 5 - stdenv.mkDerivation { 6 pname = "curaengine"; 7 - inherit version; 8 9 - src = fetchurl { 10 - url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz"; 11 - sha256 = "1cd4dikzvqyj5g80rqwymvh4nwm76vsf78clb37kj6q0fig3qbjg"; 12 }; 13 14 postPatch = ''
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 pname = "curaengine"; 5 + version = "15.04.6"; 6 7 + src = fetchFromGitHub { 8 + owner = "Ultimaker"; 9 + repo = "CuraEngine"; 10 + rev = version; 11 + sha256 = "sha256-8V21TRSqCN+hkTlz51d5A5oK5JOwEtx+ROt8cfJBL/0="; 12 }; 13 14 postPatch = ''
+6 -4
pkgs/applications/misc/gsimplecal/default.nix
··· 1 - { lib, stdenv, fetchurl, automake, autoconf, pkg-config, gtk3 }: 2 3 stdenv.mkDerivation rec { 4 pname = "gsimplecal"; 5 version = "2.2"; 6 7 - src = fetchurl { 8 - url = "https://github.com/dmedvinsky/gsimplecal/archive/v${version}.tar.gz"; 9 - sha256 = "sha256-f19cnTX83LZT2d01B1EdWSaHcfHqpFPTo5glYkAokq8="; 10 }; 11 12 postPatch = ''
··· 1 + { lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, gtk3 }: 2 3 stdenv.mkDerivation rec { 4 pname = "gsimplecal"; 5 version = "2.2"; 6 7 + src = fetchFromGitHub { 8 + owner = "dmedvinsky"; 9 + repo = "gsimplecal"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-r7OitN7WSY7vxpQCraLyokgUNgvaVFjE17ghBGgxzuM="; 12 }; 13 14 postPatch = ''
+11 -7
pkgs/applications/misc/plover/default.nix
··· 1 - { lib, fetchurl, python27Packages, python3Packages, wmctrl, 2 qtbase, mkDerivationWith }: 3 4 { ··· 12 license = licenses.gpl2; 13 }; 14 15 - src = fetchurl { 16 - url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; 17 - sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r"; 18 }; 19 20 nativeBuildInputs = [ setuptools-scm ]; ··· 34 license = licenses.gpl2; 35 }; 36 37 - src = fetchurl { 38 - url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; 39 - sha256 = "sha256-Eun+ZgmOIjYw6FS/2OGoBvYh52U/Ue0+NtIqrvV2Tqc="; 40 }; 41 42 # I'm not sure why we don't find PyQt5 here but there's a similar
··· 1 + { lib, fetchFromGitHub, python27Packages, python3Packages, wmctrl, 2 qtbase, mkDerivationWith }: 3 4 { ··· 12 license = licenses.gpl2; 13 }; 14 15 + src = fetchFromGitHub { 16 + owner = "openstenoproject"; 17 + repo = "plover"; 18 + rev = "v${version}"; 19 + sha256 = "sha256-LIhTwHMphg+xTR9NKvjAZ6p0mmqPNcZd9C4cgnenmYQ="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; ··· 36 license = licenses.gpl2; 37 }; 38 39 + src = fetchFromGitHub { 40 + owner = "openstenoproject"; 41 + repo = "plover"; 42 + rev = "v${version}"; 43 + sha256 = "sha256-oJ7+R3ZWhUbNTTAw1AfMg2ur8vW1XEbsa5FgSTam1Ns="; 44 }; 45 46 # I'm not sure why we don't find PyQt5 here but there's a similar
+8 -9
pkgs/applications/misc/qtbitcointrader/default.nix
··· 1 - { lib, fetchzip, qt5, mkDerivation }: 2 3 - let 4 version = "1.40.43"; 5 - in 6 - mkDerivation { 7 - pname = "qtbitcointrader"; 8 - inherit version; 9 10 - src = fetchzip { 11 - url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz"; 12 - sha256 = "07xbsi78cykpyxidp1bw5ahmymdrs2afg7b0lla7dfhagz18lzxv"; 13 }; 14 15 buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
··· 1 + { lib, fetchFromGitHub, qt5, mkDerivation }: 2 3 + mkDerivation rec { 4 + pname = "qtbitcointrader"; 5 version = "1.40.43"; 6 7 + src = fetchFromGitHub { 8 + owner = "JulyIGHOR"; 9 + repo = "QtBitcoinTrader"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-u3+Kwn8KunYUpWCd55TQuVVfoSp8hdti93d6hk7Uqx8="; 12 }; 13 14 buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
+6 -4
pkgs/applications/misc/xkblayout-state/default.nix
··· 1 - { lib, stdenv, fetchurl, qt4 }: 2 3 stdenv.mkDerivation rec { 4 pname = "xkblayout-state"; 5 version = "1b"; 6 7 - src = fetchurl { 8 - url = "https://github.com/nonpop/${pname}/archive/v${version}.tar.gz"; 9 - sha256 = "1m1nnplrdb2mclhj0881wf78ckvdnyk24g4k4p5s5gpd96cxxwnx"; 10 }; 11 12 buildInputs = [ qt4 ];
··· 1 + { lib, stdenv, fetchFromGitHub, qt4 }: 2 3 stdenv.mkDerivation rec { 4 pname = "xkblayout-state"; 5 version = "1b"; 6 7 + src = fetchFromGitHub { 8 + owner = "nonpop"; 9 + repo = "xkblayout-state"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-diorqwDEBdzcBteKvhRisQaY3bx5seaOaWSaPwBkWDo="; 12 }; 13 14 buildInputs = [ qt4 ];
+8 -5
pkgs/applications/misc/xrandr-invert-colors/default.nix
··· 1 - { fetchurl, lib, stdenv, libXrandr}: 2 3 stdenv.mkDerivation rec { 4 version = "0.02"; 5 - pname = "xrandr-invert-colors"; 6 - src = fetchurl { 7 - url = "https://github.com/zoltanp/xrandr-invert-colors/archive/v${version}.tar.gz"; 8 - sha256 = "sha256-7rIiBV9zbiLzu5RO5legHfGiqUSU2BuwqOc1dX/7ozA="; 9 }; 10 11 buildInputs = [ libXrandr ];
··· 1 + { lib, stdenv, fetchFromGitHub, libXrandr}: 2 3 stdenv.mkDerivation rec { 4 + pname = "xrandr-invert-colors"; 5 version = "0.02"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "zoltanp"; 9 + repo = "xrandr-invert-colors"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-MIbHNJFDQsvjPUbperTKKbHY5GSgItvRyV5OsfpzYT4="; 12 }; 13 14 buildInputs = [ libXrandr ];
+6 -4
pkgs/applications/science/biology/diamond/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, zlib }: 2 3 stdenv.mkDerivation rec { 4 pname = "diamond"; 5 version = "0.8.36"; 6 7 - src = fetchurl { 8 - url = "https://github.com/bbuchfink/diamond/archive/v${version}.tar.gz"; 9 - sha256 = "092smzzjcg51n3x4h84k52ijpz9m40ri838j9k2i463ribc3c8rh"; 10 }; 11 12 patches = [
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, zlib }: 2 3 stdenv.mkDerivation rec { 4 pname = "diamond"; 5 version = "0.8.36"; 6 7 + src = fetchFromGitHub { 8 + owner = "bbuchfink"; 9 + repo = "diamond"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-7uqOQOzkYN0RNwKBGUZ/Ny5NVZMoGByOk+GUvjdBzck="; 12 }; 13 14 patches = [
+6 -4
pkgs/applications/science/biology/kssd/default.nix
··· 1 - { lib, stdenv, fetchurl, zlib, automake, autoconf, libtool }: 2 3 stdenv.mkDerivation rec { 4 pname = "kssd"; 5 version = "1.1"; 6 7 - src = fetchurl { 8 - url = "https://github.com/yhg926/public_${pname}/archive/v${version}.tar.gz"; 9 - sha256 = "1x3v31cxnww4w5zn15vy0bwk53llsa0f97ma6qbw89h152d2mx5x"; 10 }; 11 12 buildInputs = [ zlib automake autoconf libtool ];
··· 1 + { lib, stdenv, fetchFromGitHub, zlib, automake, autoconf, libtool }: 2 3 stdenv.mkDerivation rec { 4 pname = "kssd"; 5 version = "1.1"; 6 7 + src = fetchFromGitHub { 8 + owner = "yhg926"; 9 + repo = "public_kssd"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-8jzYqo9LXF66pQ1EIusm+gba2VbTYpJz2K3NVlA3QxY="; 12 }; 13 14 buildInputs = [ zlib automake autoconf libtool ];
+6 -4
pkgs/applications/science/biology/messer-slim/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, gcc, gcc-unwrapped }: 2 3 stdenv.mkDerivation rec { 4 version = "3.6"; 5 pname = "messer-slim"; 6 7 - src = fetchurl { 8 - url = "https://github.com/MesserLab/SLiM/archive/v${version}.tar.gz"; 9 - sha256 = "sha256-djWUKB+NW2a/6oaAMcH0Ul/R/XPHvGDbwlfeFmkbMOY="; 10 }; 11 12 nativeBuildInputs = [ cmake gcc gcc-unwrapped ];
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, gcc, gcc-unwrapped }: 2 3 stdenv.mkDerivation rec { 4 version = "3.6"; 5 pname = "messer-slim"; 6 7 + src = fetchFromGitHub { 8 + owner = "MesserLab"; 9 + repo = "SLiM"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-TSbGUfr8YzTRYTkbMfM2+K04Z3h5W4jakw+V4axOKm8="; 12 }; 13 14 nativeBuildInputs = [ cmake gcc gcc-unwrapped ];
+7 -4
pkgs/applications/science/biology/niftyseg/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, eigen, zlib }: 2 3 stdenv.mkDerivation rec { 4 pname = "niftyseg"; 5 version = "1.0"; 6 - src = fetchurl { 7 - url = "https://github.com/KCL-BMEIS/NiftySeg/archive/v${version}.tar.gz"; 8 - sha256 = "11q6yldsxp3k6gfp94c0xhcan2y3finzv8lzizmrc79yps3wjkn0"; 9 }; 10 11 nativeBuildInputs = [ cmake ];
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, eigen, zlib }: 2 3 stdenv.mkDerivation rec { 4 pname = "niftyseg"; 5 version = "1.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "KCL-BMEIS"; 9 + repo = "NiftySeg"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-FDthq1ild9XOw3E3O7Lpfn6hBF1Frhv1NxfEA8500n8="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+5 -3
pkgs/applications/science/logic/potassco/clingo.nix
··· 1 - { lib, stdenv, fetchzip, cmake }: 2 3 stdenv.mkDerivation rec { 4 pname = "clingo"; 5 version = "5.5.1"; 6 7 - src = fetchzip { 8 - url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz"; 9 sha256 = "sha256-KBCwGNkz5HqbgXbDxPVcqxMXC8B2+wRI8eZVVXMVpLI="; 10 }; 11
··· 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 3 stdenv.mkDerivation rec { 4 pname = "clingo"; 5 version = "5.5.1"; 6 7 + src = fetchFromGitHub { 8 + owner = "potassco"; 9 + repo = "clingo"; 10 + rev = "v${version}"; 11 sha256 = "sha256-KBCwGNkz5HqbgXbDxPVcqxMXC8B2+wRI8eZVVXMVpLI="; 12 }; 13
+8 -8
pkgs/applications/terminal-emulators/lxterminal/default.nix
··· 1 - { lib, stdenv, fetchurl, automake, autoconf, intltool, pkg-config, gtk3, vte, wrapGAppsHook 2 , libxslt, docbook_xml_dtd_412, docbook_xsl, libxml2, findXMLCatalogs 3 }: 4 5 - let version = "0.3.2"; in 6 - 7 - stdenv.mkDerivation { 8 pname = "lxterminal"; 9 - inherit version; 10 11 - src = fetchurl { 12 - url = "https://github.com/lxde/lxterminal/archive/${version}.tar.gz"; 13 - sha256 = "1iafqmccsm3nnzwp6pb2c04iniqqnscj83bq1rvf58ppzk0bvih3"; 14 }; 15 16 configureFlags = [
··· 1 + { lib, stdenv, fetchFromGitHub, automake, autoconf, intltool, pkg-config, gtk3, vte, wrapGAppsHook 2 , libxslt, docbook_xml_dtd_412, docbook_xsl, libxml2, findXMLCatalogs 3 }: 4 5 + stdenv.mkDerivation rec { 6 pname = "lxterminal"; 7 + version = "0.3.2"; 8 9 + src = fetchFromGitHub { 10 + owner = "lxde"; 11 + repo = "lxterminal"; 12 + rev = version; 13 + sha256 = "sha256-5J21Xvx43Ie01IxB2usyixDl+WZEeFHn2HXZsRS5imo="; 14 }; 15 16 configureFlags = [
+6 -4
pkgs/tools/filesystems/nixpart/0.4/default.nix
··· 1 - { lib, stdenv, fetchurl, python, buildPythonApplication 2 , libselinux 3 # Propagated to blivet 4 , useNixUdev ? true ··· 58 version = "0.4.1"; 59 disabled = python.isPy3k; 60 61 - src = fetchurl { 62 - url = "https://github.com/NixOS/nixpart/archive/v${version}.tar.gz"; 63 - sha256 = "0avwd8p47xy9cydlbjxk8pj8q75zyl68gw2w6fnkk78dcb1a3swp"; 64 }; 65 66 propagatedBuildInputs = [ blivet ];
··· 1 + { lib, stdenv, fetchurl, fetchFromGitHub, python, buildPythonApplication 2 , libselinux 3 # Propagated to blivet 4 , useNixUdev ? true ··· 58 version = "0.4.1"; 59 disabled = python.isPy3k; 60 61 + src = fetchFromGitHub { 62 + owner = "NixOS"; 63 + repo = "nixpart"; 64 + rev = "v${version}"; 65 + sha256 = "sha256-edl3mRg9Bn9Bd6FJl4zf1WS7XRcHTL5ey9LuKhaZG7I="; 66 }; 67 68 propagatedBuildInputs = [ blivet ];
+6 -4
pkgs/tools/misc/blink1-tool/default.nix
··· 1 - { lib, stdenv, fetchurl, libusb1, pkg-config, ... }: 2 3 stdenv.mkDerivation rec { 4 pname = "blink1"; 5 version = "1.98a"; 6 7 - src = fetchurl { 8 - url = "https://github.com/todbot/blink1/archive/v${version}.tar.gz"; 9 - sha256 = "1waci6hccv5i50v5d3z7lx4h224fbkj66ywfynnsgn46w0jm6imv"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ];
··· 1 + { lib, stdenv, fetchFromGitHub, libusb1, pkg-config, ... }: 2 3 stdenv.mkDerivation rec { 4 pname = "blink1"; 5 version = "1.98a"; 6 7 + src = fetchFromGitHub { 8 + owner = "todbot"; 9 + repo = "blink1"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-o4pOF6Gp70AL63ih6BNOpRTCs7+qzeZrEqaR4hYDTG8="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ];
+6 -4
pkgs/tools/networking/easyrsa/2.x.nix
··· 1 { lib 2 , stdenv 3 - , fetchurl 4 , autoreconfHook 5 , makeWrapper 6 , gnugrep ··· 11 pname = "easyrsa"; 12 version = "2.2.0"; 13 14 - src = fetchurl { 15 - url = "https://github.com/OpenVPN/easy-rsa/archive/v${version}.tar.gz"; 16 - sha256 = "1xq4by5frb6ikn53ss3y8v7ss639dccxfq8jfrbk07ynkmk668qk"; 17 }; 18 19 preBuild = ''
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub 4 , autoreconfHook 5 , makeWrapper 6 , gnugrep ··· 11 pname = "easyrsa"; 12 version = "2.2.0"; 13 14 + src = fetchFromGitHub { 15 + owner = "OpenVPN"; 16 + repo = "easy-rsa"; 17 + rev = "v${version}"; 18 + sha256 = "sha256-zTdk8mv+gC/SHK813wZ6CWZf9Jm2XkKfAPU3feFpAkY="; 19 }; 20 21 preBuild = ''