3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #50247 from romildo/upd.jxrlib

jxrlib: init at 1.1
This commit is contained in:
lewo 2018-11-13 08:59:32 +01:00 committed by GitHub
commit 5189877d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, python }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
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 ];
};
}

View file

@ -10251,6 +10251,8 @@ with pkgs;
jsonrpc-glib = callPackage ../development/libraries/jsonrpc-glib { };
jxrlib = callPackage ../development/libraries/jxrlib { };
libjson = callPackage ../development/libraries/libjson { };
libb64 = callPackage ../development/libraries/libb64 { };