mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
6b999f3c42
Did not test all packages. Likely we'll have some breakage.
27 lines
888 B
Nix
27 lines
888 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aenum";
|
|
version = "2.0.7";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2c5db863b5531cc059313018e57bc765b0ef1fc96ba799f105ea45d99b1c2d23";
|
|
};
|
|
|
|
doCheck = !isPy3k;
|
|
# The following tests fail (only in python3
|
|
# test_convert (aenum.test.TestIntEnumConvert)
|
|
# test_convert_value_lookup_priority (aenum.test.TestIntEnumConvert)
|
|
# test_convert (aenum.test.TestIntEnumConvert)
|
|
# test_convert_value_lookup_priority (aenum.test.TestIntEnumConvert)
|
|
|
|
meta = {
|
|
description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants";
|
|
maintainers = with stdenv.lib.maintainers; [ vrthra ];
|
|
license = with stdenv.lib.licenses; [ bsd3 ];
|
|
homepage = https://bitbucket.org/stoneleaf/aenum;
|
|
};
|
|
}
|