summary refs log tree commit diff
path: root/pkgs/development/libraries/mypaint-brushes
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-02-07 03:28:12 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-02-07 03:44:33 +0100
commitc77a95dc0de02639246d6380095b44cb443186cd (patch)
tree6be0d65882b2df1394173c43457bf090a05f2aed /pkgs/development/libraries/mypaint-brushes
parent947ace2a16602f2cc4dde82f517358c3a77529a8 (diff)
downloadnixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar.gz
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar.bz2
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar.lz
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar.xz
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.tar.zst
nixpkgs-c77a95dc0de02639246d6380095b44cb443186cd.zip
mypaint-brushes: clean up
Diffstat (limited to 'pkgs/development/libraries/mypaint-brushes')
-rw-r--r--pkgs/development/libraries/mypaint-brushes/default.nix24
1 files changed, 16 insertions, 8 deletions
diff --git a/pkgs/development/libraries/mypaint-brushes/default.nix b/pkgs/development/libraries/mypaint-brushes/default.nix
index 3dac7c93e84..115d818d936 100644
--- a/pkgs/development/libraries/mypaint-brushes/default.nix
+++ b/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 {
@@ -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 ];