mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +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`.
28 lines
998 B
Nix
28 lines
998 B
Nix
{ stdenv, fetchurl, cmake, pysideApiextractor, python2, qt4 }:
|
|
|
|
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
|
let
|
|
pythonEnv = python2.withPackages(ps: with ps; [ sphinx ]);
|
|
pname = "pyside-generatorrunner";
|
|
version = "0.6.16";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
|
|
sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
buildInputs = [ cmake pysideApiextractor qt4 pythonEnv ];
|
|
|
|
meta = {
|
|
description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
homepage = http://www.pyside.org/docs/generatorrunner/;
|
|
maintainers = [ stdenv.lib.maintainers.chaoflow ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|