mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
955fd85829
This is now handled in the ninja setup hook. (cherry picked from commit f5e099754fffc3d2b68c8ba6fc8025f3c921fddc)
29 lines
626 B
Nix
29 lines
626 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pythonix";
|
|
version = "0.1.4";
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "pythonix";
|
|
rev = "v${version}";
|
|
sha256 = "1q1fagfwzvmcm1n3a0liay7m5krazmhw9l001m90rrz2x7vrsqwk";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
|
|
|
buildInputs = [ nix boost ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = ''
|
|
Eval nix code from python.
|
|
'';
|
|
maintainers = [ maintainers.mic92 ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|