mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
29 lines
820 B
Nix
29 lines
820 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pep8, nose, unittest2, docutils, blockdiag }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "actdiag";
|
|
version = "0.5.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af";
|
|
};
|
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
propagatedBuildInputs = [ blockdiag ];
|
|
|
|
# One test fails:
|
|
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
|
homepage = http://blockdiag.com/;
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
};
|
|
}
|