Merge pull request #78352 from winpat/add_pxview

pxview: init at 0.2.5
This commit is contained in:
Dmitry Kalinkin 2020-05-09 15:02:24 -04:00 committed by GitHub
commit 8ceef190c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
pname = "pxlib";
version = "0.6.8";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "1yafwz4z5h30hqvk51wpgbjlmq9f2z2znvfim87ydrfrqfjmi6sz";
};
nativeBuildInputs = [ intltool ];
meta = with stdenv.lib; {
description = "Library to read and write Paradox files";
homepage = "http://pxlib.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.winpat ];
};
}

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, pkgconfig, perl, perlPackages, pxlib }:
stdenv.mkDerivation rec {
pname = "pxview";
version = "0.2.5";
src = fetchurl {
url = "mirror://sourceforge/pxlib/${pname}_${version}.orig.tar.gz";
sha256 = "1kpdqs6lvnyj02v9fbz1s427yqhgrxp7zw63rzfgiwd4iqp75139";
};
buildInputs = [ pxlib perl ] ++ (with perlPackages; [ libxml_perl ]);
nativeBuildInputs = [ pkgconfig ];
configureFlags = [ "--with-pxlib=${pxlib.out}" ];
# https://sourceforge.net/p/pxlib/bugs/12/
LDFLAGS = "-lm";
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Program to convert Paradox databases";
homepage = "http://pxlib.sourceforge.net/pxview/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.winpat ];
};
}

View file

@ -26489,6 +26489,10 @@ in
kcli = callPackage ../development/tools/kcli {};
pxlib = callPackage ../development/libraries/pxlib {};
pxview = callPackage ../development/tools/pxview {};
unstick = callPackage ../os-specific/linux/unstick {};
quartus-prime-lite = callPackage ../applications/editors/quartus-prime {};