From 1dfb57fb58b860d11df3383ff2e370a827fdd249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Tue, 21 Jan 2020 12:29:50 -0300 Subject: [PATCH] libieee1284: init at 0.2.11 --- .../libraries/libieee1284/default.nix | 38 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/libraries/libieee1284/default.nix diff --git a/pkgs/development/libraries/libieee1284/default.nix b/pkgs/development/libraries/libieee1284/default.nix new file mode 100644 index 000000000000..b5708a83a7d3 --- /dev/null +++ b/pkgs/development/libraries/libieee1284/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, autoconf, automake, libtool, xmlto, docbook_xml_dtd_412, docbook_xsl }: + +stdenv.mkDerivation rec { + pname = "libieee1284"; + version = "0.2.11"; + + src = fetchFromGitHub { + owner = "twaugh"; + repo = pname; + rev = "V${builtins.replaceStrings [ "." ] [ "_" ] version}"; + sha256 = "0wfv1prmhhpyll9l4g1ij3im7hk9mm96ydw3l9fvhjp3993cdn2x"; + }; + + nativeBuildInputs = [ + autoconf + automake + libtool + xmlto + docbook_xml_dtd_412 + docbook_xsl + ]; + + configureFlags = [ + "--without-python" + ]; + + preConfigure = '' + ./bootstrap + ''; + + meta = with stdenv.lib; { + description = "Parallel port communication library"; + homepage = "http://cyberelk.net/tim/software/libieee1284/"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 82317127dacb..c23c7dbb6270 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12608,6 +12608,8 @@ in libicns = callPackage ../development/libraries/libicns { }; + libieee1284 = callPackage ../development/libraries/libieee1284 { }; + libimobiledevice = callPackage ../development/libraries/libimobiledevice { }; libindicator-gtk2 = libindicator.override { gtkVersion = "2"; };