mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
cb8cc3dd67
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd -h` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd --help` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd -v` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd --version` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-inject -h` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-inject --help` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-inject -v` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-inject --version` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-monitor -h` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-monitor --help` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-monitor -v` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu-smsd-monitor --version` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu -h` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu --help` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu help` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu --version` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu version` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu -h` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu --help` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/gammu help` and found version 1.39.0 - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/jadmaker -h` got 0 exit code - ran `/nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0/bin/jadmaker --help` got 0 exit code - found 1.39.0 with grep in /nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0 - found 1.39.0 in filename of file in /nix/store/bfy77lr5m9rqn8a6rmw31gjyrwzyyi4q-gammu-1.39.0 cc "@coroa"
38 lines
1008 B
Nix
38 lines
1008 B
Nix
{ stdenv, fetchFromGitHub, python, pkgconfig, cmake, bluez, libusb1, curl
|
|
, libiconv, gettext, sqlite
|
|
, dbiSupport ? false, libdbi ? null, libdbiDrivers ? null
|
|
, postgresSupport ? false, postgresql ? null
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gammu-${version}";
|
|
version = "1.39.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gammu";
|
|
repo = "gammu";
|
|
rev = version;
|
|
sha256 = "1hr053z2l5mjgip83fsxnd1rqsp5gwywzagzrgdg243apn1nz0gs";
|
|
};
|
|
|
|
patches = [ ./bashcomp-dir.patch ./systemd.patch ];
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
buildInputs = [ python bluez libusb1 curl gettext sqlite libiconv ]
|
|
++ optionals dbiSupport [ libdbi libdbiDrivers ]
|
|
++ optionals postgresSupport [ postgresql ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = https://wammu.eu/gammu/;
|
|
description = "Command line utility and library to control mobile phones";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.coroa ];
|
|
};
|
|
}
|