Skip to content

Commit

Permalink
mypaint-brushes: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Feb 7, 2020
1 parent 947ace2 commit c77a95d
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions pkgs/development/libraries/mypaint-brushes/default.nix
@@ -1,20 +1,22 @@
{stdenv, fetchpatch, autoconf, automake, fetchFromGitHub, pkgconfig}:
{ stdenv
, fetchpatch
, autoconf
, automake
, fetchFromGitHub
, pkgconfig
}:

let
stdenv.mkDerivation rec {
pname = "mypaint-brushes";
version = "1.3.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";

src = fetchFromGitHub {
owner = "Jehan";
owner = "mypaint";
repo = pname;
rev = "v${version}";
sha256 = "1iz89z6v2mp8j1lrf942k561s8311i3s34ap36wh4rybb2lq15m0";
};

nativeBuildInputs = [ autoconf automake pkgconfig ];

patches = [
# build with automake 1.16
(fetchpatch {
Expand All @@ -23,10 +25,16 @@ in stdenv.mkDerivation {
})
];

nativeBuildInputs = [
autoconf
automake
pkgconfig
];

preConfigure = "./autogen.sh";

meta = with stdenv.lib; {
homepage = http://mypaint.org/;
homepage = "http://mypaint.org/";
description = "Brushes used by MyPaint and other software using libmypaint.";
license = licenses.cc0;
maintainers = with maintainers; [ jtojnar ];
Expand Down

0 comments on commit c77a95d

Please sign in to comment.