···12121313buildPythonPackage rec {
1414 pname = "botocore";
1515- version = "1.20.1"; # N.B: if you change this, change boto3 and awscli to a matching version
1515+ version = "1.20.4"; # N.B: if you change this, change boto3 and awscli to a matching version
16161717 src = fetchPypi {
1818 inherit pname version;
1919- sha256 = "sha256-lIi6NeLU0XN19nuP0wDfXsL4MXopJAMpAQCcmZ1WO1k=";
1919+ sha256 = "sha256-YWV6Hks83alicIQYS9+dykY3wVI9rq0xo2l0vg1RaG0=";
2020 };
21212222 propagatedBuildInputs = [
···11+#!/usr/bin/env python3
22+import sys
33+import json
44+55+if len(sys.argv) != 2:
66+ print("usage: ./this-script src-deps.json < WORKSPACE", file=sys.stderr)
77+ print("Takes the bazel WORKSPACE file and reads all archives into a json dict (by evaling it as python code)", file=sys.stderr)
88+ print("Hail Eris.", file=sys.stderr)
99+ sys.exit(1)
1010+1111+http_archives = []
1212+1313+# just the kw args are the dict { name, sha256, urls … }
1414+def http_archive(**kw):
1515+ http_archives.append(kw)
1616+# like http_file
1717+def http_file(**kw):
1818+ http_archives.append(kw)
1919+2020+# this is inverted from http_archive/http_file and bundles multiple archives
2121+def distdir_tar(**kw):
2222+ for archive_name in kw['archives']:
2323+ http_archives.append({
2424+ "name": archive_name,
2525+ "sha256": kw['sha256'][archive_name],
2626+ "urls": kw['urls'][archive_name]
2727+ })
2828+2929+# TODO?
3030+def git_repository(**kw):
3131+ print(json.dumps(kw, sort_keys=True, indent=4), file=sys.stderr)
3232+ sys.exit(1)
3333+3434+# execute the WORKSPACE like it was python code in this module,
3535+# using all the function stubs from above.
3636+exec(sys.stdin.read())
3737+3838+# transform to a dict with the names as keys
3939+d = { el['name']: el for el in http_archives }
4040+4141+def has_urls(el):
4242+ return ('url' in el and el['url']) or ('urls' in el and el['urls'])
4343+def has_sha256(el):
4444+ return 'sha256' in el and el['sha256']
4545+bad_archives = list(filter(lambda el: not has_urls(el) or not has_sha256(el), d.values()))
4646+if bad_archives:
4747+ print('Following bazel dependencies are missing url or sha256', file=sys.stderr)
4848+ print('Check bazel sources for master or non-checksummed dependencies', file=sys.stderr)
4949+ for el in bad_archives:
5050+ print(json.dumps(el, sort_keys=True, indent=4), file=sys.stderr)
5151+ sys.exit(1)
5252+5353+with open(sys.argv[1], "w") as f:
5454+ print(json.dumps(d, sort_keys=True, indent=4), file=f)
···11{ lib, stdenv, fetchurl, php }:
2233stdenv.mkDerivation rec {
44- version = "4.7.8";
44+ version = "4.7.9";
55 pname = "adminer";
6677 # not using fetchFromGitHub as the git repo relies on submodules that are included in the tar file
88 src = fetchurl {
99 url = "https://github.com/vrana/adminer/releases/download/v${version}/adminer-${version}.tar.gz";
1010- sha256 = "0k794agvd8pa3mwl0076i7753fzxd41lhr23aih4l2lbdgnzi68z";
1010+ sha256 = "sha256-V7cPdCcCjFlA3ykWe+F/fUO7+kZiOpqMgP0hHy6WDJE=";
1111 };
12121313 nativeBuildInputs = [
···28282929in with py.pkgs; buildPythonApplication rec {
3030 pname = "awscli";
3131- version = "1.19.1"; # N.B: if you change this, change botocore to a matching version too
3131+ version = "1.19.4"; # N.B: if you change this, change botocore to a matching version too
32323333 src = fetchPypi {
3434 inherit pname version;
3535- sha256 = "sha256-8T0zFxR7hLdt2ZZvkshckIO2XNGZIbQuwfeGxqQs7rs=";
3535+ sha256 = "sha256-fXQ6In3BBMvy1Jz6+OO8CXYVefIVrsVAUQHbNEroSII=";
3636 };
37373838 # https://github.com/aws/aws-cli/issues/4837
···11+{ stdenv, lib, fetchFromGitLab, cmake, pkg-config, gtkmm3, libsigcxx, xorg }:
22+33+stdenv.mkDerivation rec {
44+ pname = "jstest-gtk";
55+ version = "2018-07-10";
66+77+ src = fetchFromGitLab {
88+ owner = pname;
99+ repo = pname;
1010+ rev = "62f6e2d7d44620e503149510c428df9e004c9f3b";
1111+ sha256 = "0icbbhrj5aqljhiavdy3hic60vp0zzfzyg0d6vpjaqkbzd5pv9d8";
1212+ };
1313+1414+ nativeBuildInputs = [ cmake pkg-config ];
1515+ buildInputs = [ gtkmm3 libsigcxx xorg.libX11 ];
1616+1717+ meta = with lib; {
1818+ description = "A simple joystick tester based on Gtk+";
1919+ longDescription = ''
2020+ It provides you with a list of attached joysticks, a way to display which
2121+ buttons and axis are pressed, a way to remap axis and buttons and a way
2222+ to calibrate your joystick.
2323+ '';
2424+ homepage = "https://jstest-gtk.gitlab.io/";
2525+ license = licenses.gpl3Plus;
2626+ maintainers = with maintainers; [ wucke13 ];
2727+ platforms = platforms.linux;
2828+ };
2929+}
···150150 dydisnix = throw "dydisnix has been removed."; # added 2021-01-27
151151 dysnomia = throw "dysnomia has been removed."; # added 2021-01-27
152152 dwarf_fortress = dwarf-fortress; # added 2016-01-23
153153+ dwm-git = throw "dwm-git has been removed from nixpkgs, as it had no updates for 2 years not serving it's purpose."; # added 2021-02-07
153154 elasticmq = throw "elasticmq has been removed in favour of elasticmq-server-bin"; # added 2021-01-17
154155 emacsPackagesGen = emacsPackagesFor; # added 2018-08-18
155156 emacsPackagesNgGen = emacsPackagesFor; # added 2018-08-18