diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libieee1284/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libieee1284/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libieee1284/default.nix b/nixpkgs/pkgs/development/libraries/libieee1284/default.nix new file mode 100644 index 000000000000..b5708a83a7d3 --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |