3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/gammu/default.nix

38 lines
1,008 B
Nix
Raw Normal View History

2016-11-19 20:24:50 +00:00
{ stdenv, fetchFromGitHub, python, pkgconfig, cmake, bluez, libusb1, curl
2016-02-14 18:22:47 +00:00
, libiconv, gettext, sqlite
, dbiSupport ? false, libdbi ? null, libdbiDrivers ? null
, postgresSupport ? false, postgresql ? null
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "gammu-${version}";
gammu: 1.38.2 -> 1.39.0 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"
2018-02-26 14:39:38 +00:00
version = "1.39.0";
2016-11-19 20:24:50 +00:00
src = fetchFromGitHub {
owner = "gammu";
repo = "gammu";
rev = version;
gammu: 1.38.2 -> 1.39.0 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"
2018-02-26 14:39:38 +00:00
sha256 = "1hr053z2l5mjgip83fsxnd1rqsp5gwywzagzrgdg243apn1nz0gs";
};
2016-11-19 20:24:50 +00:00
patches = [ ./bashcomp-dir.patch ./systemd.patch ];
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ python bluez libusb1 curl gettext sqlite libiconv ]
2016-02-14 18:22:47 +00:00
++ optionals dbiSupport [ libdbi libdbiDrivers ]
++ optionals postgresSupport [ postgresql ];
enableParallelBuilding = true;
meta = {
homepage = https://wammu.eu/gammu/;
2016-02-14 18:22:47 +00:00
description = "Command line utility and library to control mobile phones";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.coroa ];
};
}