mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
commit
8ceef190c1
3 changed files with 51 additions and 0 deletions
20
pkgs/development/libraries/pxlib/default.nix
Normal file
20
pkgs/development/libraries/pxlib/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
27
pkgs/development/tools/pxview/default.nix
Normal file
27
pkgs/development/tools/pxview/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue