python3Packages.libsavitar: init at 3.6.0
This commit is contained in:
parent
9b3204d41b
commit
cbdaa29c3e
33
pkgs/development/python-modules/libsavitar/default.nix
Normal file
33
pkgs/development/python-modules/libsavitar/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, cmake, sip }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "libsavitar";
|
||||||
|
version = "3.6.0";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Ultimaker";
|
||||||
|
repo = "libSavitar";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1bz8ga0n9aw65hqzajbr93dcv5g555iaihbhs1jq2k47cx66klzv";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# To workaround buggy SIP detection which overrides PYTHONPATH
|
||||||
|
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ sip ];
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4.0";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "C++ implementation of 3mf loading with SIP python bindings";
|
||||||
|
homepage = https://github.com/Ultimaker/libSavitar;
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ abbradar orivej ];
|
||||||
|
};
|
||||||
|
}
|
@ -2824,6 +2824,8 @@ in {
|
|||||||
|
|
||||||
fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };
|
fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };
|
||||||
|
|
||||||
|
libarcus = callPackage ../development/python-modules/libarcus { };
|
||||||
|
|
||||||
libcloud = callPackage ../development/python-modules/libcloud { };
|
libcloud = callPackage ../development/python-modules/libcloud { };
|
||||||
|
|
||||||
libgpuarray = callPackage ../development/python-modules/libgpuarray {
|
libgpuarray = callPackage ../development/python-modules/libgpuarray {
|
||||||
@ -2842,6 +2844,8 @@ in {
|
|||||||
inherit (pkgs) libsodium;
|
inherit (pkgs) libsodium;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libsavitar = callPackage ../development/python-modules/libsavitar { };
|
||||||
|
|
||||||
libplist = disabledIf isPy3k
|
libplist = disabledIf isPy3k
|
||||||
(toPythonModule (pkgs.libplist.override{python2Packages=self; })).py;
|
(toPythonModule (pkgs.libplist.override{python2Packages=self; })).py;
|
||||||
|
|
||||||
@ -4493,8 +4497,6 @@ in {
|
|||||||
inherit (pkgs) libasyncns pkgconfig;
|
inherit (pkgs) libasyncns pkgconfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
libarcus = callPackage ../development/python-modules/libarcus { };
|
|
||||||
|
|
||||||
pybrowserid = callPackage ../development/python-modules/pybrowserid { };
|
pybrowserid = callPackage ../development/python-modules/pybrowserid { };
|
||||||
|
|
||||||
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
||||||
|
Loading…
Reference in New Issue
Block a user