Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
839 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, stdenv, buildPythonPackage, fetchPypi, keystone,}:
buildPythonPackage rec { pname = "keystone-engine"; version = "0.9.2"; format = "setuptools";
src = fetchPypi { inherit pname version; sha256 = "1xahdr6bh3dw5swrc2r8kqa8ljhqlb7k2kxv5mrw5rhcmcnzcyig"; };
setupPyBuildFlags = lib.optionals stdenv.hostPlatform.isLinux [ "--plat-name" "linux" ];
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; };}