mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
python3Packages.pynest2d: init at 4.8.0
This commit is contained in:
parent
d4905adc32
commit
7769e4629b
31
pkgs/development/python-modules/pynest2d/default.nix
Normal file
31
pkgs/development/python-modules/pynest2d/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, python3, cmake
|
||||||
|
, pythonOlder, libnest2d, sip, clipper }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "4.8.0";
|
||||||
|
pname = "pynest2d";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Ultimaker";
|
||||||
|
repo = "pynest2d";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "18dn92vgr4gvf9scfh93yg9bwrhdjvq62di08rpi7pqjrrvq2nvp";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ libnest2d sip clipper ];
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
CLIPPER_PATH = "${clipper.out}";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python3.sitePackages}#' cmake/SIPMacros.cmake
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python bindings for libnest2d";
|
||||||
|
homepage = "https://github.com/Ultimaker/pynest2d";
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -5279,6 +5279,8 @@ in {
|
|||||||
|
|
||||||
pync = callPackage ../development/python-modules/pync { };
|
pync = callPackage ../development/python-modules/pync { };
|
||||||
|
|
||||||
|
pynest2d = callPackage ../development/python-modules/pynest2d { };
|
||||||
|
|
||||||
pynisher = callPackage ../development/python-modules/pynisher { };
|
pynisher = callPackage ../development/python-modules/pynisher { };
|
||||||
|
|
||||||
pynmea2 = callPackage ../development/python-modules/pynmea2 { };
|
pynmea2 = callPackage ../development/python-modules/pynmea2 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user