python3Packages.keystone-engine: init at 0.9.2
This commit is contained in:
parent
8cc2318965
commit
c523108906
28
pkgs/development/python-modules/keystone-engine/default.nix
Normal file
28
pkgs/development/python-modules/keystone-engine/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, keystone }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "keystone-engine";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xahdr6bh3dw5swrc2r8kqa8ljhqlb7k2kxv5mrw5rhcmcnzcyig";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace setup.py --replace \
|
||||||
|
"libkeystone" "${keystone}/lib/libkeystone"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "keystone" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Lightweight multi-platform, multi-architecture assembler framework";
|
||||||
|
homepage = "https://www.keystone-engine.org";
|
||||||
|
maintainers = with maintainers; [ dump_stack ];
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
};
|
||||||
|
}
|
@ -3479,6 +3479,8 @@ in {
|
|||||||
|
|
||||||
keyrings-alt = callPackage ../development/python-modules/keyrings-alt { };
|
keyrings-alt = callPackage ../development/python-modules/keyrings-alt { };
|
||||||
|
|
||||||
|
keystone-engine = callPackage ../development/python-modules/keystone-engine { };
|
||||||
|
|
||||||
keyutils = callPackage ../development/python-modules/keyutils { inherit (pkgs) keyutils; };
|
keyutils = callPackage ../development/python-modules/keyutils { inherit (pkgs) keyutils; };
|
||||||
|
|
||||||
kicad = disabledIf isPy27 (toPythonModule (pkgs.kicad.override { python3 = python; }).src);
|
kicad = disabledIf isPy27 (toPythonModule (pkgs.kicad.override { python3 = python; }).src);
|
||||||
|
Loading…
Reference in New Issue
Block a user