nixpkgs/pkgs/desktops/enlightenment/ephoto.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
778 B
Nix

{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }:
stdenv.mkDerivation rec {
pname = "ephoto";
version = "1.5";
src = fetchurl {
url = "http://www.smhouston.us/stuff/${pname}-${version}.tar.gz";
sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb";
};
nativeBuildInputs = [
(pkgconfig.override { vanilla = true; })
mesa.dev # otherwise pkg-config does not find gbm
makeWrapper
];
buildInputs = [
efl
pcre
];
meta = {
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
homepage = http://smhouston.us/ephoto/;
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}