mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +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`.
18 lines
465 B
Nix
18 lines
465 B
Nix
{ stdenv, kaitaistruct, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kaitaistruct";
|
|
version = "0.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d1d17c7f6839b3d28fc22b21295f787974786c2201e8788975e72e2a1d109ff5";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Kaitai Struct: runtime library for Python";
|
|
homepage = "https://github.com/kaitai-io/kaitai_struct_python_runtime";
|
|
license = licenses.mit;
|
|
};
|
|
}
|