pypi2nix: 1.0.0 -> 1.1.0

This commit is contained in:
Rok Garbas
2016-06-29 01:48:38 +02:00
parent cd3da41b18
commit d9036a02b5
2 changed files with 37 additions and 20 deletions
+4 -3
View File
@@ -3,10 +3,10 @@
let
deps = import ./deps.nix { inherit fetchurl; };
version = "1.0.0";
version = "1.1.0";
src = fetchurl {
url = "https://github.com/garbas/pypi2nix/archive/v${version}.tar.gz";
sha256 = "1rbwkmsllg8wxv45xyvc3vh97na0zxxydcfqrvig496xkylvw2rn";
sha256 = "0la4f0cqq089hjzwa509snkqhxvwszp5zglmb0yy1m7ins3yhg2m";
};
in stdenv.mkDerivation rec {
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
commonPhase = ''
mkdir -p $out/bin
echo "#!${python}/bin/python" > $out/bin/pypi2nix
echo "#!${python}/bin/python3" > $out/bin/pypi2nix
echo "import pypi2nix.cli" >> $out/bin/pypi2nix
echo "pypi2nix.cli.main()" >> $out/bin/pypi2nix
@@ -64,6 +64,7 @@ in stdenv.mkDerivation rec {
export PATH=$out/bin:$PATH
export PYTHONPATH=`pwd`/src:$PYTHONPATH
'';
meta = {
homepage = https://github.com/garbas/pypi2nix;
description = "A tool that generates nix expressions for your python packages, so you don't have to.";