depot/third_party/nixpkgs/pkgs/development/python-modules/pythonix/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
626 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
buildPythonPackage rec {
pname = "pythonix";
version = "0.1.6";
format = "other";
src = fetchFromGitHub {
owner = "Mic92";
repo = "pythonix";
rev = "v${version}";
sha256 = "1qzcrpn333hsgn6fj1m1s3cvaf0ny8qpygamcrazqv57xmwyr8h5";
};
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;
};
}