Files
nixpkgs/pkgs/development/libraries/mypaint-brushes/1.0.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
lib,
stdenv,
autoconf,
automake,
fetchFromGitHub,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "mypaint-brushes";
version = "1.3.1";
src = fetchFromGitHub {
owner = "mypaint";
repo = "mypaint-brushes";
rev = "v${version}";
sha256 = "1c95l1vfz7sbrdlzrbz7h1p6s1k113kyjfd9wfnxlm0p6562cz3j";
};
nativeBuildInputs = [
autoconf
automake
pkg-config
];
# don't rely on rigid autotools versions, instead preload whatever is in $PATH in the build environment.
# mypaint-brushes1 1.3.1 only officially supports autotools up to 1.16,
# unstable git versions support up to autotools 1.17.
# However, we are now on autotools 1.18, so this would break.
preConfigure = ''
export AUTOMAKE=automake
export ACLOCAL=aclocal
./autogen.sh
'';
meta = with lib; {
homepage = "http://mypaint.org/";
description = "Brushes used by MyPaint and other software using libmypaint";
license = licenses.cc0;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}