2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, buildPackages, buildPythonPackage, fetchPypi }:
|
2017-09-10 14:19:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unicorn";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0a5b4vh734b3wfkgapzzf8x18rimpmzvwwkly56da84n27wfw9bg";
|
|
|
|
};
|
|
|
|
|
2018-12-01 11:00:16 +00:00
|
|
|
# needs python2 at build time
|
2019-09-09 00:38:31 +01:00
|
|
|
PYTHON=buildPackages.python2.interpreter;
|
2017-09-10 14:19:41 +01:00
|
|
|
|
|
|
|
setupPyBuildFlags = [ "--plat-name" "linux" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Unicorn CPU emulator engine";
|
|
|
|
homepage = "http://www.unicorn-engine.org/";
|
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
maintainers = [ maintainers.bennofs ];
|
|
|
|
};
|
|
|
|
}
|