Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5ca647b244f3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 57d863b1f03c
Choose a head ref

Commits on Sep 6, 2020

  1. source-highlight: Skip building docs when cross-compiling

    source-highlight uses it's own binary to generate documentation.
    During cross-compilation, that binary was built for the target
    platform architecture, so it can't run on the build host.
    kampka committed Sep 6, 2020
    Copy the full SHA
    cbfc33a View commit details

Commits on Oct 21, 2020

  1. klibc: fix cross-compilation

    Tested pkgsCross.armv7l-hf-multiplatform.klibc
    danielfullmer committed Oct 21, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    7c4b1b7 View commit details

Commits on Jan 12, 2021

  1. Copy the full SHA
    0fd3afc View commit details

Commits on Jan 16, 2021

  1. scponly: init at 4.8

    Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
    wmertens and SuperSandro2000 committed Jan 16, 2021
    Copy the full SHA
    cd0fa5a View commit details
  2. maintainers: add kmicklas

    kmicklas committed Jan 16, 2021

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    5a23451 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    b87f18e View commit details
  4. julius: 1.5.1 -> 1.6.0

    Thra11 committed Jan 16, 2021

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    0615a47 View commit details
  5. burpsuite: 2020.1 -> 2020.12.1

    Moved to Java 11 to avoid warnings when launching Burp Suite.
    Burp Suite only officially supports Java versions 9 to 14 [0].
    
    [0] https://portswigger.net/burp/documentation/desktop/getting-started/launching/command-line#checking-your-java-version
    LeSuisse committed Jan 16, 2021
    Copy the full SHA
    2c29f2a View commit details
  6. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6960160 View commit details
  7. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    97b9ca2 View commit details
  8. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7c1f979 View commit details
  9. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7a6701f View commit details
  10. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    infinisil Silvan Mosberger
    Copy the full SHA
    291e54e View commit details
  11. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    ac5271a View commit details
  12. sqlar: fix build error

    Disable warnings to be treated as errors, since otherwise the build
    would fail with this message:
    
    ```
    sqlite3.c: In function 'sqlite3SelectNew':
    sqlite3.c:116663:10: error: function may return address of local variable [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreturn-local-addr-Werror=return-local-addr8;;]
    116663 |   return pNew;
    ```
    nagy committed Jan 16, 2021

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    531e121 View commit details
  13. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    41abb03 View commit details
  14. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    4ee7a23 View commit details

Commits on Jan 17, 2021

  1. psw: 0.1.2 -> 0.2.0

    Wulfsta committed Jan 17, 2021

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    727cb67 View commit details
  2. alsaLib: correct license field

    Milan Pässler committed Jan 17, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    b7466c1 View commit details
  3. doc: rust: fix syntax error in declarative overlay

    Otherwise pasting the snippet into shell.nix results in:
    
    	error: syntax error, unexpected '=', expecting $end, at /.../shell.nix:2:9
    
    Signed-off-by: Alexei Colin <ac@alexeicolin.com>
    alexeicolin committed Jan 17, 2021
    Copy the full SHA
    72bebd8 View commit details
  4. snapper-gui: init at 2020-10-20

    Existing snapper-gui package at pythonPackages.snapperGUI is outdated for 6 years,
    broken (probably for a while) and misplaced. I weren't able to fix it, so I
    repackaged it taking gpodder package for inspiration
    Ales Huzik committed Jan 17, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    505d16f View commit details
  5. remove broken pythonPackages.snapperGUI. superceded by snapper-gui fr…

    …om the previous commit
    Ales Huzik committed Jan 17, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    2b6b8b2 View commit details
  6. amass: 3.10.5 -> 3.11.1

    fabaff committed Jan 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6db50a0 View commit details
  7. reckon: 0.4.4 -> 0.6.0

    raboof committed Jan 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f60ce03 View commit details
  8. snapper-gui: clarify license: gpl2 -> gpl2Plus

    Ales Huzik committed Jan 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    db0fdde View commit details
  9. djvu2pdf: fix broken homepage URL

    Also updated to the appropriate license.
    LeSuisse committed Jan 17, 2021
    Copy the full SHA
    7d886df View commit details
  10. Copy the full SHA
    d63c786 View commit details
  11. Copy the full SHA
    b08f88f View commit details
  12. Copy the full SHA
    df06280 View commit details
  13. Copy the full SHA
    35a9b90 View commit details
  14. Copy the full SHA
    36b897f View commit details
  15. Copy the full SHA
    b542a74 View commit details
  16. opensmtpd: 6.7.1p1 -> 6.8.0p2

    LeSuisse committed Jan 17, 2021
    Copy the full SHA
    becfbfd View commit details
  17. Copy the full SHA
    ac15eb7 View commit details
  18. Copy the full SHA
    5ee79ca View commit details
  19. Merge pull request #109549 from LeSuisse/bursuite-2020.12.1

    burpsuite: 2020.1 -> 2020.12.1
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    ff9a7c6 View commit details
  20. Merge pull request #109548 from Thra11/julius-1-6-0

    julius: 1.5.1 -> 1.6.0
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    86892ac View commit details
  21. Merge pull request #109544 from priegger/factorio

    factorio-headless-experimental, factorio-experimental: 1.1.10 -> 1.1.12
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    2964ee5 View commit details
  22. Copy the full SHA
    ec64627 View commit details
  23. Copy the full SHA
    d3c32e6 View commit details
  24. Copy the full SHA
    77d9a07 View commit details
  25. Merge pull request #109610 from raboof/reckon-0.4.4-to-0.6.0

    reckon: 0.4.4 -> 0.6.0
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    73f1ed5 View commit details
  26. Copy the full SHA
    2e508a8 View commit details
  27. Merge pull request #109579 from nagy/sqlar-fix

    sqlar: fix build error
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    fbd7615 View commit details
  28. Merge pull request #109584 from LeSuisse/mediawiki-1.35.1

    mediawiki: 1.35.0 -> 1.35.1
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    a303f9f View commit details
  29. Merge pull request #109586 from fabaff/awsiotpythonsdk

    python3Packages.awsiotpythonsdk: init at 1.4.9
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    517cb0d View commit details
  30. Merge pull request #109593 from Wulfsta/psw

    psw: 0.1.2 -> 0.2.0
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    17830a5 View commit details
  31. Copy the full SHA
    6454c89 View commit details
  32. Merge pull request #109606 from fabaff/bump-amass

    amass: 3.10.5 -> 3.11.1
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    055fa3a View commit details
  33. Merge pull request #109618 from LeSuisse/checksec-permanent-redirect

    checksec: update permanently redirected homepage URL
    SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    ac5bf4e View commit details
Showing 303 changed files with 1,081 additions and 961 deletions.
3 changes: 2 additions & 1 deletion doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
@@ -567,12 +567,13 @@ in the `~/.config/nixpkgs/overlays` directory.
Add the following to your `configuration.nix`, `home-configuration.nix`, `shell.nix`, or similar:

```
nixpkgs = {
{ pkgs ? import <nixpkgs> {
overlays = [
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
# Further overlays go here
];
};
};
```

Note that this will fetch the latest overlay version when rebuilding your system.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -4815,6 +4815,12 @@
github = "kmein";
githubId = 10352507;
};
kmicklas = {
email = "maintainer@kmicklas.com";
name = "Ken Micklas";
github = "kmicklas";
githubId = 929096;
};
knairda = {
email = "adrian@kummerlaender.eu";
name = "Adrian Kummerlaender";
Original file line number Diff line number Diff line change
@@ -46,11 +46,11 @@ in
DynamicUser = false;
ExecStart = ''
${pkgs.prometheus-nextcloud-exporter}/bin/nextcloud-exporter \
-a ${cfg.listenAddress}:${toString cfg.port} \
-u ${cfg.username} \
-t ${cfg.timeout} \
-l ${cfg.url} \
-p ${escapeShellArg "@${cfg.passwordFile}"} \
--addr ${cfg.listenAddress}:${toString cfg.port} \
--username ${cfg.username} \
--timeout ${cfg.timeout} \
--server ${cfg.url} \
--password ${escapeShellArg "@${cfg.passwordFile}"} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
};
3 changes: 2 additions & 1 deletion nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
@@ -423,7 +423,7 @@ let
exporterConfig = {
enable = true;
passwordFile = "/var/nextcloud-pwfile";
url = "http://localhost/negative-space.xml";
url = "http://localhost";
};
metricProvider = {
systemd.services.nc-pwfile = let
@@ -441,6 +441,7 @@ let
basicAuth.nextcloud-exporter = "snakeoilpw";
locations."/" = {
root = "${pkgs.prometheus-nextcloud-exporter.src}/serverinfo/testdata";
tryFiles = "/negative-space.xml =404";
};
};
};
4 changes: 2 additions & 2 deletions pkgs/applications/misc/cura/lulzbot/curaengine.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ gcc8Stdenv, callPackage, fetchgit, fetchpatch, cmake, libarcusLulzbot, stb, protobuf }:
{ lib, gcc8Stdenv, callPackage, fetchgit, fetchpatch, cmake, libarcusLulzbot, stb, protobuf }:

gcc8Stdenv.mkDerivation rec {
pname = "curaengine-lulzBot";
@@ -17,7 +17,7 @@ gcc8Stdenv.mkDerivation rec {

cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];

meta = with gcc8Stdenv.lib; {
meta = with lib; {
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
homepage = "https://code.alephobjects.com/source/curaengine-lulzbot/";
license = licenses.agpl3;
49 changes: 49 additions & 0 deletions pkgs/applications/misc/snapper-gui/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{ lib, stdenv, fetchFromGitHub, python3, python3Packages
, gnome3, gtk3, wrapGAppsHook, gtksourceview3, snapper
, gobject-introspection
}:

python3Packages.buildPythonApplication rec {
pname = "snapper-gui";
version = "2020-10-20";

src = fetchFromGitHub {
owner = "ricardomv";
repo = pname;
rev = "f0c67abe0e10cc9e2ebed400cf80ecdf763fb1d1";
sha256 = "13j4spbi9pxg69zifzai8ifk4207sn0vwh6vjqryi0snd5sylh7h";
};

nativeBuildInputs = [ wrapGAppsHook ];

buildInputs = [
python3
gobject-introspection
gnome3.adwaita-icon-theme
];

doCheck = false; # it doesn't have any tests

propagatedBuildInputs = with python3Packages; [
gtk3
dbus-python
pygobject3
setuptools
gtksourceview3
snapper
];

meta = with lib; {
description = "Graphical interface for snapper";
longDescription = ''
A graphical user interface for the tool snapper for Linux filesystem
snapshot management. It can compare snapshots and revert differences between snapshots.
In simple terms, this allows root and non-root users to view older versions of files
and revert changes. Currently works with btrfs, ext4 and thin-provisioned LVM volumes.
'';
homepage = "https://github.com/ricardomv/snapper-gui";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ahuzik ];
};
}
38 changes: 38 additions & 0 deletions pkgs/applications/video/mpv/scripts/mpvacious.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib, stdenv, fetchFromGitHub, curl, xclip }:

stdenv.mkDerivation rec {
pname = "mpvacious";
version = "0.12";

src = fetchFromGitHub {
owner = "Ajatt-Tools";
repo = "mpvacious";
rev = "v${version}";
sha256 = "1xz4qh2ibfv03m3pfdasim9byvlm78wigx1linmih19vgg99vky2";
};

postPatch = ''
substituteInPlace subs2srs.lua \
--replace "'curl'" "'${curl}/bin/curl'" \
--replace "xclip" "${xclip}/bin/xclip"
'';

dontBuild = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/mpv/scripts
cp subs2srs.lua $out/share/mpv/scripts
runHook postInstall
'';

passthru.scriptName = "subs2srs.lua";

meta = with lib; {
description = "Adds mpv keybindings to create Anki cards from movies and TV shows";
homepage = "https://github.com/Ajatt-Tools/mpvacious";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ kmicklas ];
};
}
7 changes: 4 additions & 3 deletions pkgs/applications/video/vlc/default.nix
Original file line number Diff line number Diff line change
@@ -9,8 +9,9 @@
, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
, libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
, onlyLibVLC ? false
, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null, wrapQtAppsHook ? null
, withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook
, jackSupport ? false
, skins2Support ? !onlyLibVLC, freetype
, removeReferencesTo
, chromecastSupport ? true, protobuf, libmicrodns
}:
@@ -21,8 +22,6 @@

with lib;

assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wrapQtAppsHook != null);

stdenv.mkDerivation rec {
pname = "${optionalString onlyLibVLC "lib"}vlc";
version = "3.0.11.1";
@@ -52,6 +51,7 @@ stdenv.mkDerivation rec {
fluidsynth wayland wayland-protocols
] ++ optional (!stdenv.hostPlatform.isAarch64) live555
++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
++ optional jackSupport libjack2
++ optionals chromecastSupport [ protobuf libmicrodns ];

@@ -89,6 +89,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-kde-solid=$out/share/apps/solid/actions"
] ++ optional onlyLibVLC "--disable-vlc"
++ optional skins2Support "--enable-skins2"
++ optionals chromecastSupport [
"--enable-sout"
"--enable-chromecast"
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:
{ lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:

let
py = python3.withPackages(ps: [ ps.pillow ]);
@@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done
'';

meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Material Based Cursor";
homepage = "https://github.com/KaizIqbal/Bibata_Cursor";
license = licenses.gpl3;
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/extra.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:
{ lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:

let
py = python3.withPackages(ps: [ ps.pillow ]);
@@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done
'';

meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Cursors Based on Bibata";
homepage = "https://github.com/KaizIqbal/Bibata_Extra_Cursor";
license = licenses.gpl3;
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/translucent.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
{ lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:

stdenvNoCC.mkDerivation rec {
pname = "bibata-cursors-translucent";
@@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation rec {
cp -pr Bibata_* $out/share/icons/
'';

meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Translucent Varient of the Material Based Cursor";
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
license = licenses.gpl3;
4 changes: 2 additions & 2 deletions pkgs/data/machine-learning/mnist/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenvNoCC, fetchurl }:
{ lib, stdenvNoCC, fetchurl }:
let
srcs = {
train-images = fetchurl {
@@ -30,7 +30,7 @@ in
ln -s "${srcs.test-labels}" "$out/${srcs.test-labels.name}"
'';
phases = [ "installPhase" ];
meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "A large database of handwritten digits";
longDescription = ''
The MNIST database (Modified National Institute of Standards and
7 changes: 4 additions & 3 deletions pkgs/data/misc/fedora-backgrounds/generic.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenvNoCC
{ lib
, stdenvNoCC
, coreutils
}:

@@ -10,7 +11,7 @@
stdenvNoCC.mkDerivation {
inherit patches src version;

pname = "fedora${stdenvNoCC.lib.versions.major version}-backgrounds";
pname = "fedora${lib.versions.major version}-backgrounds";

dontBuild = true;

@@ -32,7 +33,7 @@ stdenvNoCC.mkDerivation {
"DESTDIR=$(out)"
];

meta = with stdenvNoCC.lib; {
meta = with lib; {
homepage = "https://github.com/fedoradesign/backgrounds";
description = "A set of default and supplemental wallpapers for Fedora";
license = licenses.cc-by-sa-40;
3 changes: 1 addition & 2 deletions pkgs/development/libraries/arb/default.nix
Original file line number Diff line number Diff line change
@@ -17,9 +17,8 @@ stdenv.mkDerivation rec {
];
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "A library for arbitrary-precision interval arithmetic";
homepage = "http://arblib.org/";
homepage = "https://arblib.org/";
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = teams.sage.members;
platforms = stdenv.lib.platforms.unix;
11 changes: 10 additions & 1 deletion pkgs/development/libraries/science/networking/ns-3/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitLab
, fetchpatch
, python
, wafHook

@@ -44,7 +45,7 @@ stdenv.mkDerivation rec {
owner = "nsnam";
repo = "ns-3-dev";
rev = "ns-3.${version}";
sha256 = "158yjhsrmslj1q4zcq5p16hv9i82qnxx714l7idicncn0wzrfx7k";
sha256 = "0ds8h0f2qcb0gc2a8bk38cbhdb122i4sbg589bjn59rblzw0hkq4";
};

nativeBuildInputs = [ wafHook python ];
@@ -97,6 +98,14 @@ stdenv.mkDerivation rec {
${pythonEnv.interpreter} ./test.py --nowaf
'';

patches = [
(fetchpatch {
name = "upstream-issue-336.patch";
url = "https://gitlab.com/nsnam/ns-3-dev/-/commit/673004edae1112e6cb249b698aad856d728530fb.patch";
sha256 = "0q96ividinbh9xlws014b2ir6gaavygnln5ca9m1db06m4vfwhng";
})
];

# strictoverflow prevents clang from discovering pyembed when bindings
hardeningDisable = [ "fortify" "strictoverflow"];

2 changes: 1 addition & 1 deletion pkgs/development/libraries/sqlite/sqlar.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ stdenv.mkDerivation {

buildInputs = [ fuse zlib ];

buildFlags = [ "sqlar" "sqlarfs" ];
buildFlags = [ "sqlar" "sqlarfs" "CFLAGS=-Wno-error" ];

installPhase = ''
install -D -t $out/bin sqlar sqlarfs
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/awsiotpythonsdk/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
pname = "AWSIoTPythonSDK";
version = "1.4.9";

src = fetchFromGitHub {
owner = "aws";
repo = "aws-iot-device-sdk-python";
rev = "v${version}";
sha256 = "0mbppz1lnia4br5vjz1l4z4vw47y3bzcfpckzhs9lxhj4vq6d001";
};

# Project has no tests
doCheck = false;
pythonImportsCheck = [ "AWSIoTPythonSDK" ];

meta = with lib; {
description = "Python SDK for connecting to AWS IoT";
homepage = "https://github.com/aws/aws-iot-device-sdk-python";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/fnvhash/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "fnvhash";
version = "0.1.0";

src = fetchFromGitHub {
owner = "znerol";
repo = "py-fnvhash";
rev = "v${version}";
sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq";
};

checkInputs = [ pytestCheckHook ];

pythonImportsCheck = [ "fnvhash" ];

meta = with lib; {
description = "Python FNV hash implementation";
homepage = "https://github.com/znerol/py-fnvhash";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
Loading