nixpkgs/pkgs/development/libraries/jxrlib/default.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

28 lines
762 B
Nix

{ stdenv, fetchFromGitHub, python }:
stdenv.mkDerivation rec {
pname = "jxrlib";
version = "1.1";
# Use the source from a fork on github because CodePlex does not
# deliver an easily downloadable tarball.
src = fetchFromGitHub {
owner = "4creators";
repo = pname;
rev = "f7521879862b9085318e814c6157490dd9dbbdb4";
sha256 = "0rk3hbh00nw0wgbfbqk1szrlfg3yq7w6ar16napww3nrlm9cj65w";
};
nativeBuildInputs = [ python ];
makeFlags = [ "DIR_INSTALL=$(out)" "SHARED=1" ];
meta = with stdenv.lib; {
description = "Implementation of the JPEG XR image codec standard";
homepage = https://jxrlib.codeplex.com;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}