Question:
Want the latest 1.3.0 dev release of pants (to get a particular bug fix). Just running pants w/in nix-shell w/ trying to use the latest version. System: OSX Nix version: nix-env (Nix) 1.11.9 Nixpkgs version: "17.09pre106045."
Fixed in

pants13-pre = buildPythonPackage rec { pname   = "pantsbuild.pants"; <del> version = "1.3.0.dev13"; </del> <ins> version = "1.3.0.dev19"; </ins> name    = "${pname}-${version}"; src = self.fetchPypi { inherit pname version; <del> sha256 = "0gnz0f74s53xccfdn78v2dg1m3gx2mm0pdmmjvs5ikfbb9lidhz4"; </del> <ins> sha256 = "07gxx8kzkcx3pm2qd5sz2xb3nw9khvbapiqdzgjvzbvai2gsd5qq"; </ins> }; prePatch = ''


Question: Package name: wavebox Latest released version: Current version on the unstable channel: Current version on the stable/release channel: (doesn't seem like the has anything to do with Wavebox 114 to 116?) Notify maintainers Note for maintainers: Please tag this issue in your PR.

, gtk3 , gtk4 , libnotify <ins> , copyDesktopItems </ins> , makeDesktopItem , makeWrapper , mesa


Question: Package name: wavebox Latest released version: Current version on the unstable channel: Current version on the stable/release channel: (doesn't seem like the has anything to do with Wavebox 114 to 116?) Notify maintainers Note for maintainers: Please tag this issue in your PR.

, xorg }: <del> let version = "10.114.26-2"; desktopItem = makeDesktopItem rec { name = "Wavebox"; exec = "wavebox"; icon = "wavebox"; desktopName = name; genericName = name; categories = [ "Network" "WebBrowser" ]; }; tarball = "Wavebox_${version}.tar.gz"; in stdenv.mkDerivation { </del> <ins> stdenv.mkDerivation rec { </ins> pname = "wavebox"; <del> inherit version; </del> <ins> version = "10.118.5-2"; </ins> src = fetchurl { <del> url = "https://download.wavebox.app/stable/linux/tar/${tarball}"; sha256 = "1yk664zgahjg6n98n3kc9avcay0nqwcyq8wq231p7kvd79zazk0r"; </del> <ins> url = "https://download.wavebox.app/stable/linux/tar/Wavebox_${version}.tar.gz"; sha256 = "sha256-TxMl8pdycCMY6NFi5MSLZg0p/+KmuAPQOm370bPMm/0="; </ins> }; # don't remove runtime deps dontPatchELF = true; <ins> # ignore optional Qt 6 shim autoPatchelfIgnoreMissingDeps = [ "libQt6Widgets.so.6" "libQt6Gui.so.6" "libQt6Core.so.6" ]; </ins> <del> nativeBuildInputs = [ autoPatchelfHook makeWrapper qt5.wrapQtAppsHook ]; </del> <ins> nativeBuildInputs = [ autoPatchelfHook makeWrapper qt5.wrapQtAppsHook copyDesktopItems ]; </ins> buildInputs = with xorg; [ libXdmcp


Question: Package name: wavebox Latest released version: Current version on the unstable channel: Current version on the stable/release channel: (doesn't seem like the has anything to do with Wavebox 114 to 116?) Notify maintainers Note for maintainers: Please tag this issue in your PR.

runtimeDependencies = [ (lib.getLib udev) libnotify gtk4 ]; <ins> desktopItems = [ (makeDesktopItem rec { name = "Wavebox"; exec = "wavebox"; icon = "wavebox"; desktopName = name; genericName = name; categories = [ "Network" "WebBrowser" ]; }) ]; </ins> installPhase = '' <ins> runHook preInstall </ins> mkdir -p $out/bin $out/opt/wavebox cp -r * $out/opt/wavebox <del> # provide desktop item and icon mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps ln -s ${desktopItem}/share/applications/* $out/share/applications </del> <ins> # provide icon for desktop item mkdir -p $out/share/icons/hicolor/128x128/apps </ins> ln -s $out/opt/wavebox/product_logo_128.png $out/share/icons/hicolor/128x128/apps/wavebox.png <ins> runHook postInstall </ins> ''; postFixup = ''


Question: Package name: wavebox Latest released version: Current version on the unstable channel: Current version on the stable/release channel: (doesn't seem like the has anything to do with Wavebox 114 to 116?) Notify maintainers Note for maintainers: Please tag this issue in your PR.

--prefix PATH : ${xdg-utils}/bin ''; <ins> passthru.updateScript = ./update.sh; </ins> meta = with lib; { description = "Wavebox messaging application"; homepage = "https://wavebox.io";


Question: Package name: wavebox Latest released version: Current version on the unstable channel: Current version on the stable/release channel: (doesn't seem like the has anything to do with Wavebox 114 to 116?) Notify maintainers Note for maintainers: Please tag this issue in your PR.

<ins> #!/usr/bin/env nix-shell #!nix-shell -i bash -p nix-update curl jq version=$(curl "https://download.wavebox.app/stable/linux/latest.json" | jq --raw-output '.["urls"]["tar"] | match("https://download.wavebox.app/stable/linux/tar/Wavebox_(.+).tar.gz").captures[0]["string"]') nix-update wavebox --version "$version" </ins>


Question: Project description <!-- Describe the project a little: --official sostitute of nimlsp Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, ...

<ins> { "depends": [ { "method": "fetchzip", "packages": [ "asynctools" ], "path": "/nix/store/51nf7pb5cwg2n441ka6w6g6c4hdjsdj4-source", "rev": "bb01d965a2ad0f08eaff6a53874f028ddbab4909", "sha256": "0v4n7maskd07qsx8rsr9v0bs7nzbncmvxsn7j9jsk9azcy803v49", "srcDir": "", "url": "https://github.com/nickysn/asynctools/archive/bb01d965a2ad0f08eaff6a53874f028ddbab4909.tar.gz" }, { "method": "fetchzip", "packages": [ "asynctools" ], "path": "/nix/store/86w001hvppm2xfmqzb3733rnd5s1dmc2-source", "rev": "non-blocking", "sha256": "1iyr2k3vrbqfwm70w9bsyhis799lm9rin8j5pkjxgrpshm1znpbd", "srcDir": "", "url": "https://github.com/yyoncho/asynctools/archive/non-blocking.tar.gz" }, { "method": "fetchzip", "packages": [ "bearssl" ], "path": "/nix/store/drj65wylnxdbv4jqhymf7biiyjfb75v8-source", "rev": "9372f27a25d0718d3527afad6cc936f6a853f86e", "sha256": "152zbyqx12fmmjl4wn6kqqk1jzp1ywm4xvjd28ll9037f1pyd5ic", "srcDir": "", "url": "https://github.com/status-im/nim-bearssl/archive/9372f27a25d0718d3527afad6cc936f6a853f86e.tar.gz" }, { "method": "fetchzip", "packages": [ "chronicles" ], "path": "/nix/store/ffz78k6z9wf8vj2kv1jdj5dq2rxf61j7-source", "rev": "2a2681b60289aaf7895b7056f22616081eb1a882", "sha256": "0n8awgrmn9f6vd7ibv1jlyxk61lrs7hc51fghilrw6g6xq5w9rxq", "srcDir": "", "url": "https://github.com/status-im/nim-chronicles/archive/2a2681b60289aaf7895b7056f22616081eb1a882.tar.gz" }, { "method": "fetchzip", "packages": [ "chronos" ], "path": "/nix/store/l4zs1l1yw4yhf1f8q7r5x5z2szjygr6d-source", "rev": "ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c", "sha256": "1lv3l9c4ifqzlfgpwpvpq2z3994zz1nirg8f59xrnfb7zgbv8l3i", "srcDir": "", "url": "https://github.com/status-im/nim-chronos/archive/ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c.tar.gz" }, { "method": "fetchzip", "packages": [ "faststreams" ], "path": "/nix/store/4nj341ypj07hjvxv0462wpnywhkj02b5-source", "rev": "422971502bd641703bf78a27cb20429e77fcfb8b", "sha256": "0snzh904f8f3wn33liy6817q9ccx8mvsl88blhr49qh69mzbgnba", "srcDir": "", "url": "https://github.com/status-im/nim-faststreams/archive/422971502bd641703bf78a27cb20429e77fcfb8b.tar.gz" }, { "method": "fetchzip", "packages": [ "httputils" ], "path": "/nix/store/jmgpadmdabybhij1srd81xfr873zgfmm-source", "rev": "5065d2cf18dcb9812e25cc0e2c50eb357bde04cf", "sha256": "069fw3h9cjn0hab9vhfri8ibld7yihb8ggyg1nv5vxz6i3x026m5", "srcDir": "", "url": "https://github.com/status-im/nim-http-utils/archive/5065d2cf18dcb9812e25cc0e2c50eb357bde04cf.tar.gz" }, { "method": "fetchzip", "packages": [ "json_rpc" ], "path": "/nix/store/szg3jxcg0bf6zv224nyisqhnibkd2pxw-source", "rev": "c8a5cbe26917e6716b1597dae2d08166f3ce789a", "sha256": "1l1y4psbcd5w68j1zz172rlwsk7jxbwlr14r2kwnkj7xc7lfwlnx", "srcDir": "", "url": "https://github.com/yyoncho/nim-json-rpc/archive/c8a5cbe26917e6716b1597dae2d08166f3ce789a.tar.gz" }, { "method": "fetchzip", "packages": [ "json_serialization" ], "path": "/nix/store/h0xl7qnw7bh513rb24k1n805x3n1rimw-source", "rev": "d9394dc7286064902d825bbc1203d03d7218633a", "sha256": "102m7jaxjip24a6hrnk0nvfb0vmdx5zq4m9i4xyzq8m782xyqp94", "srcDir": "", "url": "https://github.com/status-im/nim-json-serialization/archive/d9394dc7286064902d825bbc1203d03d7218633a.tar.gz" }, { "method": "fetchzip", "packages": [ "news" ], "path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source", "rev": "8bfd753649aa7e870ec45e93f1453d3bfcf66733", "sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav", "srcDir": "src", "url": "https://github.com/status-im/news/archive/8bfd753649aa7e870ec45e93f1453d3bfcf66733.tar.gz" }, { "method": "fetchzip", "packages": [ "news" ], "path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source", "rev": "status", "sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav", "srcDir": "src", "url": "https://github.com/status-im/news/archive/status.tar.gz" }, { "method": "fetchzip", "packages": [ "nimcrypto" ], "path": "/nix/store/dnj20qh97ylf57nka9wbxs735wbw7yxv-source", "rev": "4014ef939b51e02053c2e16dd3481d47bc9267dd", "sha256": "1kgqr2lqaffglc1fgbanwcvhkqcbbd20d5b6w4lf0nksfl9c357a", "srcDir": "", "url": "https://github.com/cheatfate/nimcrypto/archive/4014ef939b51e02053c2e16dd3481d47bc9267dd.tar.gz" }, { "method": "fetchzip", "packages": [ "serialization" ], "path": "/nix/store/ss096qz8svm5my0mjhk3imyrc2nm2x0y-source", "rev": "4d541ec43454809904fc4c3c0a7436410ad597d2", "sha256": "1a5x0fsxxkqpambz9q637dz0jrzv9q1jb3cya12k6106vc65lyf8", "srcDir": "", "url": "https://github.com/status-im/nim-serialization/archive/4d541ec43454809904fc4c3c0a7436410ad597d2.tar.gz" }, { "method": "fetchzip", "packages": [ "stew" ], "path": "/nix/store/90rwcr71bq13cid74v4aazikv2s924r1-source", "rev": "d9400ddea08341a65102cffdb693d3a7131efef4", "sha256": "0gkmh63izhp0bxyfmwfvyp81bxnzwnc3r7nxr5a05xpl8crk85w2", "srcDir": "", "url": "https://github.com/status-im/nim-stew/archive/d9400ddea08341a65102cffdb693d3a7131efef4.tar.gz" }, { "method": "fetchzip", "packages": [ "stint" ], "path": "/nix/store/q42j4w2f70qfihcrpzgl3fspxihfsadb-source", "rev": "c0ae9e10a9238883d18226fa28a5435c4d305e45", "sha256": "0dxhjg5nf4sc4ga2zrxqcmr1v3ki9irkl603x0y3pz5sd8jdi731", "srcDir": "", "url": "https://github.com/status-im/nim-stint/archive/c0ae9e10a9238883d18226fa28a5435c4d305e45.tar.gz" }, { "method": "fetchzip", "packages": [ "testutils" ], "path": "/nix/store/hn5r1ywl4qzzjl9zj62w5m6f8bqkjn8q-source", "rev": "dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34", "sha256": "0fi59m8yvayzlh1ajbl98ddy43i3ikjqh3s5px16y0s3cidg4fai", "srcDir": "", "url": "https://github.com/status-im/nim-testutils/archive/dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34.tar.gz" }, { "method": "fetchzip", "packages": [ "unittest2" ], "path": "/nix/store/wdj38hf9hdyb1skgb6v0z00kxkdmnq04-source", "rev": "b178f47527074964f76c395ad0dfc81cf118f379", "sha256": "1ir20z9m4wmm0bs2dd2qiq75w0x3skv0yj7sqp6bqfh98ni44xdc", "srcDir": "", "url": "https://github.com/status-im/nim-unittest2/archive/b178f47527074964f76c395ad0dfc81cf118f379.tar.gz" }, { "method": "fetchzip", "packages": [ "websock" ], "path": "/nix/store/yad26q3iv3r2lw9xs655kyx3hvflxi1p-source", "rev": "2c3ae3137f3c9cb48134285bd4a47186fa51f0e8", "sha256": "09pkxzsnahljkqyp540v1wwiqcnbkz5ji5bz9q9cwn3axpmqc3v7", "srcDir": "", "url": "https://github.com/status-im/nim-websock/archive/2c3ae3137f3c9cb48134285bd4a47186fa51f0e8.tar.gz" }, { "method": "fetchzip", "packages": [ "with" ], "path": "/nix/store/qkwz2w5haw8px691c6gkklvxxp38j9d3-source", "rev": "2f95909c767605e06670dc70f5cffd6b9284f192", "sha256": "1qdq9wpm6xahqczmvdn3a7yvvrw5x42ylvzmbybdwjzd8vmgg0zv", "srcDir": "", "url": "https://github.com/zevv/with/archive/2f95909c767605e06670dc70f5cffd6b9284f192.tar.gz" }, { "method": "fetchzip", "packages": [ "zlib" ], "path": "/nix/store/br78rad2jnl6zka2q89qi6pkfiyn10fv-source", "rev": "f34ca261efd90f118dc1647beefd2f7a69b05d93", "sha256": "1k8y7m1ry1z8jm8hj8pa3vlqprshaa59cdwq2a4acrfw9ks5w482", "srcDir": "", "url": "https://github.com/status-im/nim-zlib/archive/f34ca261efd90f118dc1647beefd2f7a69b05d93.tar.gz" } ] } </ins>


Question: Project description <!-- Describe the project a little: --official sostitute of nimlsp Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, ...

<ins> { lib, buildNimPackage, fetchFromGitHub, }: buildNimPackage (final: prev: { pname = "nimlangserver"; version = "1.2.0"; # lock.json was generated by converting # nimble.lock into requires "<gitUrl>#revSha" in a dummy.nimble # for all packages and then running nim_lk on said dummy package # default nim_lk output fails because it attempts # to use branches that will not work instead of HEAD for packages lockFile = ./lock.json; src = fetchFromGitHub { owner = "nim-lang"; repo = "langserver"; rev = "71b59bfa77dabf6b8b381f6e18a1d963a1a658fc"; hash = "sha256-dznegEhRHvztrNhBcUhW83RYgJpduwdGLWj/tJ//K8c="; }; doCheck = false; meta = with lib; final.src.meta // { description = "The Nim language server implementation (based on nimsuggest)"; license = licenses.mit; mainProgram = "nimlangserver"; maintainers = with maintainers; [daylinmorgan]; }; }) </ins>


Question:
Project description The missing backlight auto adjusting program for Linux. Metadata homepage URL: source URL: (zip file) license: unknown platforms: linux virustotal:
I feel like shaving a yak. I'll take this.
Actually.... among other things the source here is a pain and basically impossible to make reproducible. Pretty annoying so I shall email the author.
here is a package in the interim.
fyi, I found the GitHub repository
Oh, nice. Still needs a license though before we can include it.
Not a blocker from my point of view. Package can be till the licensing situation is clear.
Author is on it re both of these things, btw! I would just give him a day or two.
It's now MIT licensed.
PR filed.

<ins> { lib, stdenv, zig, libyuv, fetchFromGitHub }: stdenv.mkDerivation (finalAttrs: { pname = "backlight-auto"; version = "0.0.1"; src = fetchFromGitHub { owner = "lf94"; repo = "backlight-auto"; rev = finalAttrs.version; hash = "sha256-QPymwlDrgKM/SXDzJdmfzWLSLU2D7egif1OIUE+SHoI="; }; nativeBuildInputs = [ zig.hook ]; buildInputs = [ libyuv ]; meta = with lib; { description = "Automatically set screen brightness with a webcam"; homepage = "https://len.falken.directory/backlight-auto.html"; license = licenses.mit; maintainers = [ maintainers.lf- ]; platforms = platforms.linux; }; }) </ins>


Question:
CMake seems to use ps command internally, but looks like CMake in nix on darwin can not find ps command, so it complains with message "sh: ps: command not found." (very many times) Although this does not seem to harm build, it is desirable if this can be solved quite easily by some simple patch.
I found a similar problem report in macports. Shall we include /bin/ps visible in cmake environment in darwin systems?
Is there no way to hard-code the path of into CMake?
isn't actually in .
The relevant code in cmake is I believe. The package on contains the Apple ps. I'll likely get it building as part of my revamp of the darwin stdenv, and if I'm feeling particularly charitable I might even hook it into cmake. In the mean time, I'd probably just leave this alone, since I don't think we're far off from having a sensible darwin stdenv.
We definitely can't use procps on Darwin since it doesn't have /proc. Also, these warnings are not always harmless: MySQL's startup scripts won't work unless it has ps in scope during the build process. Right now the workaround is this
This was fixed as part of the new darwin stdenv.

src = fetchsvn { url = "http://winetricks.googlecode.com/svn/trunk"; inherit rev; <ins> sha256 = "01v13qw4sxmfm09g9amqycnzy743gdrhvv23rjr9255dzlrj1s8f"; </ins> }; buildInputs = [ perl which ];


Question:
CMake seems to use ps command internally, but looks like CMake in nix on darwin can not find ps command, so it complains with message "sh: ps: command not found." (very many times) Although this does not seem to harm build, it is desirable if this can be solved quite easily by some simple patch.
I found a similar problem report in macports. Shall we include /bin/ps visible in cmake environment in darwin systems?
Is there no way to hard-code the path of into CMake?
isn't actually in .
The relevant code in cmake is I believe. The package on contains the Apple ps. I'll likely get it building as part of my revamp of the darwin stdenv, and if I'm feeling particularly charitable I might even hook it into cmake. In the mean time, I'd probably just leave this alone, since I don't think we're far off from having a sensible darwin stdenv.
We definitely can't use procps on Darwin since it doesn't have /proc. Also, these warnings are not always harmless: MySQL's startup scripts won't work unless it has ps in scope during the build process. Right now the workaround is this
This was fixed as part of the new darwin stdenv.

<del> {stdenv, fetchurl, ncurses, curl, taglib, fftw, mpd_clientlib, pkgconfig}: </del> <ins> { stdenv, fetchurl, ncurses, curl, taglib, fftw, mpd_clientlib, pkgconfig , libiconvOrEmpty }: </ins> stdenv.mkDerivation rec { version = "0.5.10";


Question:
CMake seems to use ps command internally, but looks like CMake in nix on darwin can not find ps command, so it complains with message "sh: ps: command not found." (very many times) Although this does not seem to harm build, it is desirable if this can be solved quite easily by some simple patch.
I found a similar problem report in macports. Shall we include /bin/ps visible in cmake environment in darwin systems?
Is there no way to hard-code the path of into CMake?
isn't actually in .
The relevant code in cmake is I believe. The package on contains the Apple ps. I'll likely get it building as part of my revamp of the darwin stdenv, and if I'm feeling particularly charitable I might even hook it into cmake. In the mean time, I'd probably just leave this alone, since I don't think we're far off from having a sensible darwin stdenv.
We definitely can't use procps on Darwin since it doesn't have /proc. Also, these warnings are not always harmless: MySQL's startup scripts won't work unless it has ps in scope during the build process. Right now the workaround is this
This was fixed as part of the new darwin stdenv.

sha256 = "ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8"; }; <del> buildInputs = [ ncurses curl taglib fftw mpd_clientlib pkgconfig ]; </del> <ins> buildInputs = [ ncurses curl taglib fftw mpd_clientlib pkgconfig ] ++ libiconvOrEmpty; </ins> <del> meta = { </del> <ins> meta = with stdenv.lib; { </ins> description = "Curses-based interface for MPD (music player daemon)"; <del> homepage = http://unkart.ovh.org/ncmpcpp/; license = "GPLv2+"; maintainers = [ stdenv.lib.maintainers.mornfall ]; platforms = stdenv.lib.platforms.all; </del> <ins> homepage    = http://unkart.ovh.org/ncmpcpp/; license     = licenses.gpl2Plus; maintainers = with maintainers; [ lovek323 mornfall ]; platforms   = platforms.all; </ins> }; }


Question: Project description can produce completions for a range of shells, including Bash. These should be integrated with the pijul package to improve usability. Metadata homepage URL: source URL: license: gpl2 platforms: all

{ lib, stdenv , fetchCrate , rustPlatform <ins> , installShellFiles </ins> , pkg-config , libsodium , openssl


Question: Project description can produce completions for a range of shells, including Bash. These should be integrated with the pijul package to improve usability. Metadata homepage URL: source URL: license: gpl2 platforms: all

cargoHash = "sha256-mRi0NUETTdYE/oM+Jo7gW/zNby8dPAKl6XhzP0Qzsf0="; doCheck = false; <del> nativeBuildInputs = [ pkg-config ]; </del> <ins> nativeBuildInputs = [ installShellFiles pkg-config ]; </ins> buildInputs = [ openssl libsodium xxHash ] ++ (lib.optionals gitImportSupport [ libgit2 ]) ++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [


Question: Project description can produce completions for a range of shells, including Bash. These should be integrated with the pijul package to improve usability. Metadata homepage URL: source URL: license: gpl2 platforms: all

buildFeatures = lib.optional gitImportSupport "git"; <ins> postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd pijul  --bash <($out/bin/pijul completion bash)  --fish <($out/bin/pijul completion fish)  --zsh <($out/bin/pijul completion zsh) ''; </ins> meta = with lib; { description = "A distributed version control system"; homepage = "https://pijul.org";


Question: Project description Compute metrics on Python code (e.g. cyclomatic complexity) Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin

<ins> { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook # Python deps , six , setuptools }: buildPythonPackage rec { pname = "mando"; version = "0.7.1"; pyproject = true; src = fetchFromGitHub { owner = "rubik"; repo = "mando"; rev = "v${version}"; hash = "sha256-Ylrrfo57jqGuWEqCa5RyTT9AagBpUvAfviHkyJPFv08="; }; nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; propagatedBuildInputs = [ six ]; pythonImportsCheck = [ "mando" ]; meta = with lib; { description = "Create Python CLI apps with little to no effort at all"; homepage = "https://mando.readthedocs.org"; changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ t4ccer ]; }; } </ins>


Question: Project description Compute metrics on Python code (e.g. cyclomatic complexity) Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin

<ins> { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , fetchpatch # Python deps , mando , colorama , pytest-mock , tomli , poetry-core }: buildPythonPackage rec { pname = "radon"; version = "6.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rubik"; repo = "radon"; rev = "v${version}"; hash = "sha256-yY+j9kuX0ou/uDoVI/Qfqsmq0vNHv735k+vRl22LwwY="; }; patches = [ # NOTE: Remove after next release (fetchpatch { url = "https://github.com/rubik/radon/commit/ce5d2daa0a9e0e843059d6f57a8124c64a87a6dc.patch"; hash = "sha256-WwcfR2ZEWeRiMKdMZAwtZRBcWOqoqpaVTmVo0k+Tn74="; }) ]; nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ pytestCheckHook pytest-mock ]; propagatedBuildInputs = [ mando colorama ]; passthru.optional-dependencies = { toml = [ tomli ]; }; pythonImportsCheck = [ "radon" ]; meta = with lib; { description = "Various code metrics for Python code"; homepage = "https://radon.readthedocs.org"; changelog = "https://github.com/rubik/radon/blob/v${version}/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ t4ccer ]; mainProgram = "radon"; }; } </ins>


Question: Project description Compute metrics on Python code (e.g. cyclomatic complexity) Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin

managesieve = callPackage ../development/python-modules/managesieve { }; <ins> mando = callPackage ../development/python-modules/mando { }; </ins> mandown = callPackage ../development/python-modules/mandown { }; manhole = callPackage ../development/python-modules/manhole { };


Question: Project description Compute metrics on Python code (e.g. cyclomatic complexity) Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin

radish-bdd = callPackage ../development/python-modules/radish-bdd { }; <ins> radon = callPackage ../development/python-modules/radon { }; </ins> railroad-diagrams = callPackage ../development/python-modules/railroad-diagrams { }; rainbowstream = callPackage ../development/python-modules/rainbowstream { };


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

let majorVersion = "2.6"; <del> version = "${majorVersion}.7"; </del> <ins> version = "${majorVersion}.8"; # http://www.python.org/download/releases/2.6.8/ # md5 taken from webpage, python 2.6 will receive security fixes until Oct 2013 </ins> src = fetchurl { url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2"; <del> sha256 = "0p0fd8i533zsdm6gc0jmhmdifccx4v064mh0i1hl2s6fcjhc20j5"; </del> <ins> md5 = "c6e0420a21d8b23dee8b0195c9b9a125"; </ins> }; patches =


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

rm -rf "$out/lib/python${majorVersion}/test" ln -s $out/lib/python${majorVersion}/pdb.py $out/bin/pdb ln -s $out/lib/python${majorVersion}/pdb.py $out/bin/pdb${majorVersion} <ins> mv $out/share/man/man1/{python.1.gz,python2.6.1.gz} ln -s $out/share/man/man1/{python2.6.1.gz,python.1.gz} </ins> ''; passthru = {


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

rm -rf "$out/lib/python${majorVersion}/test" ln -s $out/lib/python${majorVersion}/pdb.py $out/bin/pdb ln -s $out/lib/python${majorVersion}/pdb.py $out/bin/pdb${majorVersion} <ins> ln -s $out/share/man/man1/{python2.7.1.gz,python.1.gz} </ins> ''; passthru = {


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

(http://pypi.python.org/pypi/setuptools/), which represents a large number of Python packages nowadays.  */ <del> { python, setuptools, wrapPython, lib, offlineDistutils, setuptoolsSite }: </del> <ins> { python, setuptools, wrapPython, lib, offlineDistutils, recursivePthLoader }: </ins> { name, namePrefix ? "python-"


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

name = namePrefix + name; <ins> # checkPhase after installPhase to run tests on installed packages </ins> phases = "unpackPhase patchPhase configurePhase buildPhase installPhase checkPhase fixupPhase distPhase"; buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath; <del> # setuptoolsSite is responsible for loading pth files propagatedBuildInputs = propagatedBuildInputs ++ [ setuptoolsSite ]; </del> buildInputStrings = map toString buildInputs; pythonPath = [ setuptools] ++ pythonPath;


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

# Remove any site.py files generated by easy_install as these # cause collisions. If pth files are to be processed a # corresponding site.py needs to be included in the PYTHONPATH. <del> # # leave them until we have a better solution: see #209 #rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py* </del> <ins> rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py* </ins> ${postInstall} '';


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

'' wrapPythonPrograms <del> # If a user installs a Python package, she probably also wants its # dependencies in the user environment (since Python modules don't # have something like an RPATH, so the only way to find the # dependencies is to have them in the PYTHONPATH variable). if test -e $out/nix-support/propagated-build-inputs; then ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages fi createBuildInputsPth build-inputs "$buildInputStrings" </del> <ins> # these should already be in $name.pth #createBuildInputsPth build-inputs "$buildInputStrings" </ins> for inputsfile in propagated-build-inputs propagated-build-native-inputs; do if test -e $out/nix-support/$inputsfile; then createBuildInputsPth $inputsfile "$(cat $out/nix-support/$inputsfile)"


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

{ stdenv, fetchurl, python, wrapPython }: stdenv.mkDerivation rec { <del> name = "setuptools-" + version; </del> <ins> name = "python-setuptools-" + version; </ins> version = "0.6c11";


Question: We need to propagate the pth loader so packages using us process our pth files, but it makes no sense to have the pth loader itself in a pth file.

buildPythonPackage = import ../development/python-modules/generic { inherit (pkgs) lib; <del> inherit python wrapPython setuptools setuptoolsSite offlineDistutils; </del> <ins> inherit python wrapPython setuptools recursivePthLoader offlineDistutils; </ins> };