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: 3a0d0b9a0b55
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8ffb3cced196
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 20, 2019

  1. moolticute: init at 0.30.8 (#54090)

    kirikaza authored and danbst committed Aug 20, 2019
    Copy the full SHA
    8ffb3cc View commit details
Showing with 45 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +38 −0 pkgs/applications/misc/moolticute/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3246,6 +3246,11 @@
githubId = 451835;
name = "Kirill Elagin";
};
kirikaza = {
email = "k@kirikaza.ru";
github = "kirikaza";
name = "Kirill Kazakov";
};
kisonecat = {
email = "kisonecat@gmail.com";
github = "kisonecat";
38 changes: 38 additions & 0 deletions pkgs/applications/misc/moolticute/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ stdenv, fetchurl
, libusb1, pkgconfig, qmake, qtbase, qttools, qtwebsockets
}:

stdenv.mkDerivation rec {
name = "moolticute-${version}";
version = "0.30.8";

src = fetchurl {
url = "https://github.com/mooltipass/moolticute/archive/v${version}.tar.gz";
sha256 = "1qi18r2v0mpw1y007vjgzhiia89fpgsbg2wirxgngl21yxdns1pf";
};

preConfigure = "mkdir -p build && cd build";
nativeBuildInputs = [ pkgconfig qmake qttools ];
qmakeFlags = [ "../Moolticute.pro" ];

outputs = [ "out" "udev" ];
preInstall = ''
mkdir -p $udev/lib/udev/rules.d
sed -n '/^ \+cat > "$tmpfile" <<- EOF$/,/^EOF$/p' ../data/moolticute.sh |
sed '1d;$d' > $udev/lib/udev/rules.d/50-mooltipass.rules
'';

buildInputs = [ libusb1 qtbase qtwebsockets ];

meta = with stdenv.lib; {
description = "GUI app and daemon to work with Mooltipass device via USB";
longDescription = ''
To install udev rules, add `services.udev.packages == [ moolticute.udev ]`
into `nixos/configuration.nix`.
'';
homepage = https://github.com/mooltipass/moolticute;
license = licenses.gpl3Plus;
maintainers = [ maintainers.kirikaza ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -19471,6 +19471,8 @@ in

inherit (ocaml-ng.ocamlPackages_4_01_0) monotoneViz;

moolticute = libsForQt5.callPackage ../applications/misc/moolticute { };

moonlight-embedded = callPackage ../applications/misc/moonlight-embedded { };

mop = callPackage ../applications/misc/mop { };