mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
8f3f64e512
fixes #29200
23 lines
556 B
Nix
23 lines
556 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "unicorn";
|
|
version = "1.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0a5b4vh734b3wfkgapzzf8x18rimpmzvwwkly56da84n27wfw9bg";
|
|
};
|
|
|
|
disabled = isPy3k;
|
|
|
|
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 ];
|
|
};
|
|
}
|