diff options
author | Mikhail Klementev <blame@dumpstack.io> | 2021-01-29 12:18:10 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-02-02 23:00:52 -0800 |
commit | c52310890612b9b5fc68ee865bc8051550b61aed (patch) | |
tree | 8d01643075e1186c2c16dd2e42fd4038eac863f3 /pkgs/development/python-modules/keystone-engine | |
parent | 8cc2318965c748c2a68137dc60775abc7145cff9 (diff) |
python3Packages.keystone-engine: init at 0.9.2
Diffstat (limited to 'pkgs/development/python-modules/keystone-engine')
-rw-r--r-- | pkgs/development/python-modules/keystone-engine/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/keystone-engine/default.nix b/pkgs/development/python-modules/keystone-engine/default.nix new file mode 100644 index 0000000000000..ed9f3a6bb702f --- /dev/null +++ b/pkgs/development/python-modules/keystone-engine/default.nix @@ -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; + }; +} |