mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
pythonPackages.pywebkitgtk: refactor move to python-modules
This commit is contained in:
parent
da2f7c0ee6
commit
467c2fd598
27
pkgs/development/python-modules/pywebkitgtk/default.nix
Normal file
27
pkgs/development/python-modules/pywebkitgtk/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, pkgs
|
||||
, pygtk
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywebkitgtk";
|
||||
version = "1.1.8";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pywebkitgtk.googlecode.com/files/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1svlwyl61rvbqbcbalkg6pbf38yjyv7qkq9sx4x35yk69lscaac2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = [ pygtk pkgs.gtk2 pkgs.libxml2 pkgs.libxslt pkgs.libsoup pkgs.webkitgtk24x-gtk2 pkgs.icu ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://code.google.com/p/pywebkitgtk/";
|
||||
description = "Python bindings for the WebKit GTK+ port";
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
|
||||
}
|
@ -3512,28 +3512,7 @@ in {
|
||||
|
||||
pyutil = callPackage ../development/python-modules/pyutil { };
|
||||
|
||||
pywebkitgtk = buildPythonPackage rec {
|
||||
name = "pywebkitgtk-${version}";
|
||||
version = "1.1.8";
|
||||
format = "other";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://pywebkitgtk.googlecode.com/files/${name}.tar.bz2";
|
||||
sha256 = "1svlwyl61rvbqbcbalkg6pbf38yjyv7qkq9sx4x35yk69lscaac2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = [
|
||||
pkgs.gtk2 self.pygtk pkgs.libxml2
|
||||
pkgs.libxslt pkgs.libsoup pkgs.webkitgtk24x-gtk2 pkgs.icu
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://code.google.com/p/pywebkitgtk/";
|
||||
description = "Python bindings for the WebKit GTK+ port";
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
};
|
||||
pywebkitgtk = callPackage ../development/python-modules/pywebkitgtk { };
|
||||
|
||||
pywinrm = callPackage ../development/python-modules/pywinrm { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user