Merge pull request #144241 from Stunkymonkey/applications-github-1

authored by

Sandro and committed by
GitHub
b9529207 788fceee

+228 -121
+48 -38
pkgs/applications/audio/cadence/default.nix
··· 3 , coreutils 4 , libjack2 5 , fetchpatch 6 - , fetchzip 7 , jack_capture 8 , pkg-config 9 , pulseaudioFull ··· 20 version = "0.9.1"; 21 pname = "cadence"; 22 23 - src = fetchzip { 24 - url = "https://github.com/falkTX/Cadence/archive/v${version}.tar.gz"; 25 - sha256 = "07z8grnnpkd0nf3y3r6qjlk1jlzrbhdrp9mnhrhhmws54p1bhl20"; 26 }; 27 28 patches = [ ··· 39 ]; 40 41 postPatch = '' 42 - libjackso=$(realpath ${lib.makeLibraryPath [libjack2]}/libjack.so.0); 43 - substituteInPlace ./src/jacklib.py --replace libjack.so.0 $libjackso 44 - substituteInPlace ./src/cadence.py --replace "/usr/bin/pulseaudio" \ 45 - "${lib.makeBinPath[pulseaudioFull]}/pulseaudio" 46 - substituteInPlace ./c++/jackbridge/JackBridge.cpp --replace libjack.so.0 $libjackso 47 ''; 48 49 nativeBuildInputs = [ ··· 54 qtbase 55 jack_capture 56 pulseaudioFull 57 - ((python3.withPackages (ps: with ps; [ 58 - pyqt5 59 - dbus-python 60 - ]))) 61 ]; 62 63 makeFlags = [ ··· 68 dontWrapQtApps = true; 69 70 # Replace with our own wrappers. They need to be changed manually since it wouldn't work otherwise. 71 - preFixup = let 72 - outRef = placeholder "out"; 73 - prefix = "${outRef}/share/cadence/src"; 74 - scriptAndSource = lib.mapAttrs' (script: source: 75 - lib.nameValuePair ("${outRef}/bin/" + script) ("${prefix}/" + source) 76 - ) { 77 - "cadence" = "cadence.py"; 78 - "claudia" = "claudia.py"; 79 - "catarina" = "catarina.py"; 80 - "catia" = "catia.py"; 81 - "cadence-jacksettings" = "jacksettings.py"; 82 - "cadence-aloop-daemon" = "cadence_aloop_daemon.py"; 83 - "cadence-logs" = "logs.py"; 84 - "cadence-render" = "render.py"; 85 - "claudia-launcher" = "claudia_launcher.py"; 86 - "cadence-session-start" = "cadence_session_start.py"; 87 - }; 88 - in lib.mapAttrsToList (script: source: '' 89 - rm -f ${script} 90 - makeQtWrapper ${source} ${script} \ 91 - --prefix PATH : "${lib.makeBinPath [ 92 - jack_capture # cadence-render 93 - pulseaudioFull # cadence, cadence-session-start 94 - ]}" 95 - '') scriptAndSource; 96 97 meta = { 98 homepage = "https://github.com/falkTX/Cadence/";
··· 3 , coreutils 4 , libjack2 5 , fetchpatch 6 + , fetchFromGitHub 7 , jack_capture 8 , pkg-config 9 , pulseaudioFull ··· 20 version = "0.9.1"; 21 pname = "cadence"; 22 23 + src = fetchFromGitHub { 24 + owner = "falkTX"; 25 + repo = "Cadence"; 26 + rev = "v${version}"; 27 + sha256 = "sha256-QFC4wiVF8wphhrammxtc+VMZJpXY5OGHs6DNa21+6B8="; 28 }; 29 30 patches = [ ··· 41 ]; 42 43 postPatch = '' 44 + libjackso=$(realpath ${lib.makeLibraryPath [libjack2]}/libjack.so.0); 45 + substituteInPlace ./src/jacklib.py --replace libjack.so.0 $libjackso 46 + substituteInPlace ./src/cadence.py --replace "/usr/bin/pulseaudio" \ 47 + "${lib.makeBinPath[pulseaudioFull]}/pulseaudio" 48 + substituteInPlace ./c++/jackbridge/JackBridge.cpp --replace libjack.so.0 $libjackso 49 ''; 50 51 nativeBuildInputs = [ ··· 56 qtbase 57 jack_capture 58 pulseaudioFull 59 + ( 60 + (python3.withPackages (ps: with ps; [ 61 + pyqt5 62 + dbus-python 63 + ])) 64 + ) 65 ]; 66 67 makeFlags = [ ··· 72 dontWrapQtApps = true; 73 74 # Replace with our own wrappers. They need to be changed manually since it wouldn't work otherwise. 75 + preFixup = 76 + let 77 + outRef = placeholder "out"; 78 + prefix = "${outRef}/share/cadence/src"; 79 + scriptAndSource = lib.mapAttrs' 80 + (script: source: 81 + lib.nameValuePair ("${outRef}/bin/" + script) ("${prefix}/" + source) 82 + ) 83 + { 84 + "cadence" = "cadence.py"; 85 + "claudia" = "claudia.py"; 86 + "catarina" = "catarina.py"; 87 + "catia" = "catia.py"; 88 + "cadence-jacksettings" = "jacksettings.py"; 89 + "cadence-aloop-daemon" = "cadence_aloop_daemon.py"; 90 + "cadence-logs" = "logs.py"; 91 + "cadence-render" = "render.py"; 92 + "claudia-launcher" = "claudia_launcher.py"; 93 + "cadence-session-start" = "cadence_session_start.py"; 94 + }; 95 + in 96 + lib.mapAttrsToList 97 + (script: source: '' 98 + rm -f ${script} 99 + makeQtWrapper ${source} ${script} \ 100 + --prefix PATH : "${lib.makeBinPath [ 101 + jack_capture # cadence-render 102 + pulseaudioFull # cadence, cadence-session-start 103 + ]}" 104 + '') 105 + scriptAndSource; 106 107 meta = { 108 homepage = "https://github.com/falkTX/Cadence/";
+44 -9
pkgs/applications/audio/hybridreverb2/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchzip, cmake, pkg-config, lv2, alsa-lib, libjack2, 2 - freetype, libX11, gtk3, pcre, libpthreadstubs, libXdmcp, libxkbcommon, 3 - epoxy, at-spi2-core, dbus, curl, fftwFloat }: 4 5 let 6 pname = "HybridReverb2"; ··· 10 in 11 12 stdenv.mkDerivation rec { 13 - name = "${pname}-${version}"; 14 15 - impulseDB = fetchzip { 16 - url = "https://github.com/${owner}/${pname}-impulse-response-database/archive/v${DBversion}.zip"; 17 - sha256 = "1hlfxbbkahm1k2sk3c3n2mjaz7k80ky3r55xil8nfbvbv0qan89z"; 18 }; 19 20 src = fetchFromGitHub { ··· 26 }; 27 28 nativeBuildInputs = [ pkg-config cmake ]; 29 - buildInputs = [ lv2 alsa-lib libjack2 freetype libX11 gtk3 pcre 30 - libpthreadstubs libXdmcp libxkbcommon epoxy at-spi2-core dbus curl fftwFloat ]; 31 32 cmakeFlags = [ 33 "-DHybridReverb2_AdvancedJackStandalone=ON"
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , lv2 7 + , alsa-lib 8 + , libjack2 9 + , freetype 10 + , libX11 11 + , gtk3 12 + , pcre 13 + , libpthreadstubs 14 + , libXdmcp 15 + , libxkbcommon 16 + , epoxy 17 + , at-spi2-core 18 + , dbus 19 + , curl 20 + , fftwFloat 21 + }: 22 23 let 24 pname = "HybridReverb2"; ··· 28 in 29 30 stdenv.mkDerivation rec { 31 + inherit pname version; 32 33 + impulseDB = fetchFromGitHub { 34 + inherit owner; 35 + repo = "HybridReverb2-impulse-response-database"; 36 + rev = "v${DBversion}"; 37 + sha256 = "sha256-PyGrMNhrL2cRjb2UPPwEaJ6vZBV2sDG1mKFCNdfqjsI="; 38 }; 39 40 src = fetchFromGitHub { ··· 46 }; 47 48 nativeBuildInputs = [ pkg-config cmake ]; 49 + buildInputs = [ 50 + lv2 51 + alsa-lib 52 + libjack2 53 + freetype 54 + libX11 55 + gtk3 56 + pcre 57 + libpthreadstubs 58 + libXdmcp 59 + libxkbcommon 60 + epoxy 61 + at-spi2-core 62 + dbus 63 + curl 64 + fftwFloat 65 + ]; 66 67 cmakeFlags = [ 68 "-DHybridReverb2_AdvancedJackStandalone=ON"
+28 -6
pkgs/applications/audio/hydrogen/0.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, cmake 2 - , alsa-lib, boost, glib, lash, libjack2, libarchive, libsndfile, lrdf, qt4 3 }: 4 5 stdenv.mkDerivation rec { 6 version = "0.9.7"; 7 pname = "hydrogen"; 8 9 - src = fetchurl { 10 - url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"; 11 - sha256 = "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"; 12 }; 13 14 nativeBuildInputs = [ pkg-config cmake ]; 15 buildInputs = [ 16 - alsa-lib boost glib lash libjack2 libarchive libsndfile lrdf qt4 17 ]; 18 19 meta = with lib; {
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , cmake 6 + , alsa-lib 7 + , boost 8 + , glib 9 + , lash 10 + , libjack2 11 + , libarchive 12 + , libsndfile 13 + , lrdf 14 + , qt4 15 }: 16 17 stdenv.mkDerivation rec { 18 version = "0.9.7"; 19 pname = "hydrogen"; 20 21 + src = fetchFromGitHub { 22 + owner = "hydrogen-music"; 23 + repo = "hydrogen"; 24 + rev = version; 25 + sha256 = "sha256-6ycNUcumtAEl/6XbIpW6JglGv4nNOdMrOJ1nvJg3z/c="; 26 }; 27 28 nativeBuildInputs = [ pkg-config cmake ]; 29 buildInputs = [ 30 + alsa-lib 31 + boost 32 + glib 33 + lash 34 + libjack2 35 + libarchive 36 + libsndfile 37 + lrdf 38 + qt4 39 ]; 40 41 meta = with lib; {
+17 -7
pkgs/applications/audio/ladspa-plugins/default.nix
··· 1 - { lib, stdenv, fetchurl, autoreconfHook, automake, fftw, ladspaH, libxml2, pkg-config 2 - , perlPackages }: 3 4 stdenv.mkDerivation rec { 5 pname = "swh-plugins"; 6 version = "0.4.17"; 7 8 - 9 - src = fetchurl { 10 - url = "https://github.com/swh/ladspa/archive/v${version}.tar.gz"; 11 - sha256 = "1rqwh8xrw6hnp69dg4gy336bfbfpmbx4fjrk0nb8ypjcxkz91c6i"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 - buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ]; 16 17 patchPhase = '' 18 patchShebangs .
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , automake 6 + , fftw 7 + , ladspaH 8 + , libxml2 9 + , pkg-config 10 + , perlPackages 11 + }: 12 13 stdenv.mkDerivation rec { 14 pname = "swh-plugins"; 15 version = "0.4.17"; 16 17 + src = fetchFromGitHub { 18 + owner = "swh"; 19 + repo = "ladspa"; 20 + rev = "v${version}"; 21 + sha256 = "sha256-eOtIhNcuItREUShI8JRlBVKfMfovpdfIYu+m37v4KLE="; 22 }; 23 24 nativeBuildInputs = [ autoreconfHook pkg-config ]; 25 + buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ]; 26 27 patchPhase = '' 28 patchShebangs .
+6 -4
pkgs/applications/audio/swh-lv2/default.nix
··· 1 - { lib, stdenv, fetchurl, fftwSinglePrec, libxslt, lv2, pkg-config }: 2 3 stdenv.mkDerivation rec { 4 pname = "swh-lv2"; 5 version = "1.0.16"; 6 7 - src = fetchurl { 8 - url = "https://github.com/swh/lv2/archive/v${version}.tar.gz"; 9 - sha256 = "0j1mih0lp4fds07knp5i32in515sh0df1qi6694pmyz2wqnm295w"; 10 }; 11 12 patchPhase = ''
··· 1 + { lib, stdenv, fetchFromGitHub, fftwSinglePrec, libxslt, lv2, pkg-config }: 2 3 stdenv.mkDerivation rec { 4 pname = "swh-lv2"; 5 version = "1.0.16"; 6 7 + src = fetchFromGitHub { 8 + owner = "swh"; 9 + repo = "lv2"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-v6aJUWDbBZEmz0v6+cSCi/KhOYNUeK/MJLUSgzi39ng="; 12 }; 13 14 patchPhase = ''
+9 -6
pkgs/applications/blockchains/particl-core/default.nix
··· 1 - { lib, stdenv 2 , autoreconfHook 3 , boost 4 , db48 5 - , fetchurl 6 , libevent 7 , miniupnpc 8 , openssl ··· 19 pname = "particl-core"; 20 version = "0.19.2.14"; 21 22 - src = fetchurl { 23 - url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz"; 24 - sha256 = "sha256-UMU3384r4RGVl0/7OPwdDva09vhQr+9Lqb1oD/PTva8="; 25 }; 26 27 nativeBuildInputs = [ pkg-config autoreconfHook ]; ··· 41 42 meta = { 43 description = "Privacy-Focused Marketplace & Decentralized Application Platform"; 44 - longDescription= '' 45 An open source, decentralized privacy platform built for global person to person eCommerce. 46 RPC daemon and CLI client only. 47 '';
··· 1 + { lib 2 + , stdenv 3 , autoreconfHook 4 , boost 5 , db48 6 + , fetchFromGitHub 7 , libevent 8 , miniupnpc 9 , openssl ··· 20 pname = "particl-core"; 21 version = "0.19.2.14"; 22 23 + src = fetchFromGitHub { 24 + owner = "particl"; 25 + repo = "particl-core"; 26 + rev = "v${version}"; 27 + sha256 = "sha256-gJLEMfEvQ35xjKt8iN/FXi2T/GBMSS7eUqOC8XHKPBg="; 28 }; 29 30 nativeBuildInputs = [ pkg-config autoreconfHook ]; ··· 44 45 meta = { 46 description = "Privacy-Focused Marketplace & Decentralized Application Platform"; 47 + longDescription = '' 48 An open source, decentralized privacy platform built for global person to person eCommerce. 49 RPC daemon and CLI client only. 50 '';
+6 -4
pkgs/applications/misc/fme/default.nix
··· 1 { lib 2 , stdenv 3 - , fetchurl 4 , autoconf 5 , automake 6 , bc ··· 17 pname = "fme"; 18 version = "1.1.3"; 19 20 - src = fetchurl { 21 - url = "https://github.com/rdehouss/fme/archive/v${version}.tar.gz"; 22 - hash = "sha256-0cgaajjA+q0ClDrWXW0DFL0gXG3oQWaaLv5D5MUD5j0="; 23 }; 24 25 nativeBuildInputs = [
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub 4 , autoconf 5 , automake 6 , bc ··· 17 pname = "fme"; 18 version = "1.1.3"; 19 20 + src = fetchFromGitHub { 21 + owner = "rdehouss"; 22 + repo = "fme"; 23 + rev = "v${version}"; 24 + sha256 = "sha256-P67OmExBdWM6NZhDyYceVJOZiy8RC+njk/QvgQcWZeQ="; 25 }; 26 27 nativeBuildInputs = [
+25 -8
pkgs/applications/networking/instant-messengers/ricochet/default.nix
··· 1 - { mkDerivation, lib, fetchurl, pkg-config, makeDesktopItem 2 - , qtbase, qttools, qtmultimedia, qtquick1, qtquickcontrols 3 - , openssl, protobuf, qmake 4 }: 5 6 mkDerivation rec { 7 pname = "ricochet"; 8 version = "1.1.4"; 9 10 - src = fetchurl { 11 - url = "https://github.com/ricochet-im/ricochet/archive/v${version}.tar.gz"; 12 - sha256 = "1kfj42ksvj7axc809lb8siqzj5hck2pib427b63a3ipnqc5h1faf"; 13 }; 14 15 desktopItem = makeDesktopItem { ··· 23 }; 24 25 buildInputs = [ 26 - qtbase qttools qtmultimedia qtquick1 qtquickcontrols 27 - openssl protobuf 28 ]; 29 30 nativeBuildInputs = [ pkg-config qmake ];
··· 1 + { mkDerivation 2 + , lib 3 + , fetchFromGitHub 4 + , pkg-config 5 + , makeDesktopItem 6 + , qtbase 7 + , qttools 8 + , qtmultimedia 9 + , qtquick1 10 + , qtquickcontrols 11 + , openssl 12 + , protobuf 13 + , qmake 14 }: 15 16 mkDerivation rec { 17 pname = "ricochet"; 18 version = "1.1.4"; 19 20 + src = fetchFromGitHub { 21 + owner = "ricochet-im"; 22 + repo = "ricochet"; 23 + rev = "v${version}"; 24 + sha256 = "sha256-CGVTHa0Hqj90WvB6ZbA156DVgzv/R7blsU550y2Ai9c="; 25 }; 26 27 desktopItem = makeDesktopItem { ··· 35 }; 36 37 buildInputs = [ 38 + qtbase 39 + qttools 40 + qtmultimedia 41 + qtquick1 42 + qtquickcontrols 43 + openssl 44 + protobuf 45 ]; 46 47 nativeBuildInputs = [ pkg-config qmake ];
+9 -7
pkgs/applications/networking/instant-messengers/scudcloud/default.nix
··· 1 - { lib, fetchurl, python3Packages }: 2 3 - let version = "1.63"; 4 - in python3Packages.buildPythonPackage { 5 - name = "scudcloud-${version}"; 6 7 - src = fetchurl { 8 - url = "https://github.com/raelgc/scudcloud/archive/v${version}.tar.gz"; 9 - sha256 = "e0d1cb72115d0fda17db92d28be51558ad8fe250972683fac3086dbe8d350d22"; 10 }; 11 12 propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit dbus-python jsmin ];
··· 1 + { lib, fetchFromGitHub, python3Packages }: 2 3 + python3Packages.buildPythonPackage rec { 4 + pname = "scudcloud"; 5 + version = "1.63"; 6 7 + src = fetchFromGitHub { 8 + owner = "raelgc"; 9 + repo = "scudcloud"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-b8+MVjYKbSpnfM2ow2MNVY6MiT+urpNYDkFR/yUC7ik="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit dbus-python jsmin ];
+7 -5
pkgs/applications/office/ib/controller/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, jdk, ib-tws, xpra }: 2 3 stdenv.mkDerivation rec { 4 version = "2.14.0"; 5 pname = "ib-controller"; 6 7 - src = fetchurl { 8 - url = "https://github.com/ib-controller/ib-controller/archive/${version}.tar.gz"; 9 - sha256 = "17a8bcgg9z3b4y38k035hm2lgvhmf8srlz59c7n2q3fdw2i95i68"; 10 }; 11 12 nativeBuildInputs = [ unzip ]; ··· 148 fi 149 EOF 150 chmod u+x $out/bin/ib-gw-c 151 - ''; 152 153 154 meta = with lib; {
··· 1 + { lib, stdenv, fetchFromGitHub, unzip, jdk, ib-tws, xpra }: 2 3 stdenv.mkDerivation rec { 4 version = "2.14.0"; 5 pname = "ib-controller"; 6 7 + src = fetchFromGitHub { 8 + owner = "ib-controller"; 9 + repo = "ib-controller"; 10 + rev = version; 11 + sha256 = "sha256-R175CKb3uErjBNe73HEFMI+bNmmuH2nWGraCSh5bXwc="; 12 }; 13 14 nativeBuildInputs = [ unzip ]; ··· 150 fi 151 EOF 152 chmod u+x $out/bin/ib-gw-c 153 + ''; 154 155 156 meta = with lib; {
+9 -8
pkgs/applications/office/mytetra/default.nix
··· 1 - { lib, mkDerivation, fetchurl, qmake, qtsvg, makeWrapper, xdg-utils }: 2 3 - let 4 version = "1.44.55"; 5 - in mkDerivation { 6 - pname = "mytetra"; 7 - inherit version; 8 - src = fetchurl { 9 - url = "https://github.com/xintrea/mytetra_dev/archive/v.${version}.tar.gz"; 10 - sha256 = "13lmfvschm1xwr0ys2ykhs0bb83m2f39rk1jdd7zf8yxlqki4i6l"; 11 }; 12 13 nativeBuildInputs = [ qmake makeWrapper ];
··· 1 + { lib, mkDerivation, fetchFromGitHub, qmake, qtsvg, makeWrapper, xdg-utils }: 2 3 + mkDerivation rec { 4 + pname = "mytetra"; 5 version = "1.44.55"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "xintrea"; 9 + repo = "mytetra_dev"; 10 + rev = "v.${version}"; 11 + sha256 = "sha256-jQXnDoLkqbDZxfsYKPDsTOE7p/BFeA8wEznpbkRVGdw="; 12 }; 13 14 nativeBuildInputs = [ qmake makeWrapper ];
+8 -9
pkgs/applications/version-management/git-and-tools/svn2git/default.nix
··· 1 - { lib, stdenv, fetchurl, ruby, makeWrapper, git }: 2 3 - let 4 version = "2.4.0"; 5 - in 6 - stdenv.mkDerivation { 7 - pname = "svn2git"; 8 - inherit version; 9 10 - src = fetchurl { 11 - url = "https://github.com/nirvdrum/svn2git/archive/v${version}.tar.gz"; 12 - sha256 = "0ly2vrv6q31n0xhciwb7a1ilr5c6ndyi3bg81yfp4axiypps7l41"; 13 }; 14 15 nativeBuildInputs = [ ruby makeWrapper ];
··· 1 + { lib, stdenv, fetchFromGitHub, ruby, makeWrapper, git }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "svn2git"; 5 version = "2.4.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "nirvdrum"; 9 + repo = "svn2git"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-w649l/WO68vYYxZOBKzI8XhGFkaSwWx/O3oVOtnGg6w="; 12 }; 13 14 nativeBuildInputs = [ ruby makeWrapper ];
+6 -5
pkgs/applications/version-management/gitinspector/default.nix
··· 1 - { lib, fetchzip, python2Packages}: 2 3 python2Packages.buildPythonApplication rec { 4 pname = "gitinspector"; 5 version = "0.4.4"; 6 namePrefix = ""; 7 8 - src = fetchzip { 9 - url = "https://github.com/ejwa/gitinspector/archive/v${version}.tar.gz"; 10 - sha256 = "1pfsw6xldm6jigs3nhysvqaxk8a0zf8zczgfkrp920as9sya3c7m"; 11 - name = "${pname}-${version}" + "-src"; 12 }; 13 14 checkInputs = with python2Packages; [
··· 1 + { lib, fetchFromGitHub, python2Packages }: 2 3 python2Packages.buildPythonApplication rec { 4 pname = "gitinspector"; 5 version = "0.4.4"; 6 namePrefix = ""; 7 8 + src = fetchFromGitHub { 9 + owner = "ejwa"; 10 + repo = "gitinspector"; 11 + rev = "v${version}"; 12 + sha256 = "sha256-9bChvE5aAZFunu599pH7QKHZFd7aQzv0i9LURrvh2t0="; 13 }; 14 15 checkInputs = with python2Packages; [
+6 -5
pkgs/applications/version-management/gitstats/default.nix
··· 1 - { lib, stdenv, fetchzip, perl, python2, gnuplot, coreutils, gnugrep }: 2 3 stdenv.mkDerivation rec { 4 pname = "gitstats"; 5 version = "2016-01-08"; 6 7 # upstream does not make releases 8 - src = fetchzip { 9 - url = "https://github.com/hoxu/gitstats/archive/55c5c285558c410bb35ebf421245d320ab9ee9fa.zip"; 10 - sha256 = "1bfcwhksylrpm88vyp33qjby4js31zcxy7w368dzjv4il3fh2i59"; 11 - name = "${pname}-${version}" + "-src"; 12 }; 13 14 nativeBuildInputs = [ perl ];
··· 1 + { lib, stdenv, fetchFromGitHub, perl, python2, gnuplot, coreutils, gnugrep }: 2 3 stdenv.mkDerivation rec { 4 pname = "gitstats"; 5 version = "2016-01-08"; 6 7 # upstream does not make releases 8 + src = fetchFromGitHub { 9 + owner = "hoxu"; 10 + repo = "gitstats"; 11 + rev = "55c5c285558c410bb35ebf421245d320ab9ee9fa"; 12 + sha256 = "sha256-qUQB3aCRbPkbMoMf39kPQ0vil8RjXL8RqjdTryfkzK0="; 13 }; 14 15 nativeBuildInputs = [ perl ];