mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
pythonPackages.unicodecsv: refactor move to python-modules
This commit is contained in:
parent
3af94ba30e
commit
864c7f94cf
24
pkgs/development/python-modules/unicodecsv/default.nix
Normal file
24
pkgs/development/python-modules/unicodecsv/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.14.1";
|
||||
pname = "unicodecsv";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1z7pdwkr6lpsa7xbyvaly7pq3akflbnz8gq62829lr28gl1hi301";
|
||||
};
|
||||
|
||||
# ImportError: No module named runtests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Drop-in replacement for Python2's stdlib csv module, with unicode support";
|
||||
homepage = https://github.com/jdunck/python-unicodecsv;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
|
||||
}
|
@ -4043,24 +4043,7 @@ in {
|
||||
|
||||
umemcache = callPackage ../development/python-modules/umemcache {};
|
||||
|
||||
unicodecsv = buildPythonPackage rec {
|
||||
version = "0.14.1";
|
||||
name = "unicodecsv-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/u/unicodecsv/${name}.tar.gz";
|
||||
sha256 = "1z7pdwkr6lpsa7xbyvaly7pq3akflbnz8gq62829lr28gl1hi301";
|
||||
};
|
||||
|
||||
# ImportError: No module named runtests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Drop-in replacement for Python2's stdlib csv module, with unicode support";
|
||||
homepage = https://github.com/jdunck/python-unicodecsv;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
};
|
||||
unicodecsv = callPackage ../development/python-modules/unicodecsv { };
|
||||
|
||||
unittest2 = buildPythonPackage rec {
|
||||
version = "1.1.0";
|
||||
|
Loading…
Reference in New Issue
Block a user