mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
mypaint: format with nixpkgs-fmt
This commit is contained in:
parent
0243f4455b
commit
80051c2247
@ -1,8 +1,22 @@
|
||||
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobject-introspection
|
||||
, gdk-pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
, intltool
|
||||
, json_c
|
||||
, lcms2
|
||||
, libpng
|
||||
, librsvg
|
||||
, gobject-introspection
|
||||
, gdk-pixbuf
|
||||
, pkgconfig
|
||||
, python2
|
||||
, scons
|
||||
, swig
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (python2Packages) python pycairo pygobject3 numpy;
|
||||
inherit (python2.pkgs) pycairo pygobject3 numpy;
|
||||
in stdenv.mkDerivation {
|
||||
pname = "mypaint";
|
||||
version = "1.2.1";
|
||||
@ -16,15 +30,29 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
intltool pkgconfig scons swig wrapGAppsHook
|
||||
intltool
|
||||
pkgconfig
|
||||
scons
|
||||
swig
|
||||
wrapGAppsHook
|
||||
gobject-introspection # for setup hook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3 gdk-pixbuf json_c lcms2 libpng librsvg pycairo pygobject3 python
|
||||
gtk3
|
||||
gdk-pixbuf
|
||||
json_c
|
||||
lcms2
|
||||
libpng
|
||||
librsvg
|
||||
pycairo
|
||||
pygobject3
|
||||
python2
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
sed -i -e 's|/usr/bin/env python2.7|${python}/bin/python|' $out/bin/mypaint
|
||||
@ -36,7 +64,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A graphics application for digital painters";
|
||||
homepage = http://mypaint.org/;
|
||||
homepage = "http://mypaint.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ goibhniu jtojnar ];
|
||||
|
Loading…
Reference in New Issue
Block a user