pythonPackages.noise: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 11:48:34 +02:00 committed by Frederik Rietdijk
parent f79f9561a2
commit 07f611a12d
2 changed files with 19 additions and 16 deletions

View File

@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "noise";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0rcv40dcshqpchwkdlhsv3n68h9swm9fh4d1cgzr2hsp6rs7k8jp";
};
meta = with stdenv.lib; {
homepage = https://github.com/caseman/noise;
description = "Native-code and shader implementations of Perlin noise";
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@ -625,22 +625,7 @@ in {
awesome-slugify = callPackage ../development/python-modules/awesome-slugify {};
noise = buildPythonPackage rec {
name = "noise-${version}";
version = "1.2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/n/noise/${name}.tar.gz";
sha256 = "0rcv40dcshqpchwkdlhsv3n68h9swm9fh4d1cgzr2hsp6rs7k8jp";
};
meta = with stdenv.lib; {
homepage = "https://github.com/caseman/noise";
description = "Native-code and shader implementations of Perlin noise";
license = licenses.mit;
platforms = platforms.all;
};
};
noise = callPackage ../development/python-modules/noise {};
azure = buildPythonPackage rec {
version = "0.11.0";