Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 626 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "pythonix"; 5 version = "0.1.6"; 6 format = "other"; 7 8 src = fetchFromGitHub { 9 owner = "Mic92"; 10 repo = "pythonix"; 11 rev = "v${version}"; 12 sha256 = "1qzcrpn333hsgn6fj1m1s3cvaf0ny8qpygamcrazqv57xmwyr8h5"; 13 }; 14 15 disabled = !isPy3k; 16 17 nativeBuildInputs = [ meson ninja pkgconfig ]; 18 19 buildInputs = [ nix boost ]; 20 21 meta = with stdenv.lib; { 22 description = '' 23 Eval nix code from python. 24 ''; 25 maintainers = [ maintainers.mic92 ]; 26 license = licenses.mit; 27 }; 28}