diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-11-11 18:01:54 -0200 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2018-11-11 18:36:55 -0200 |
commit | 546191f4cfd2ead32c987af3269f66518ed08f1f (patch) | |
tree | 07e21fcdd33966143818d995a1e5ee7c3711b44e /pkgs/development/libraries/jxrlib | |
parent | b529b81be3f7e17864e38d6111ae9f7f7d16b020 (diff) |
jxrlib: init at 1.1
Diffstat (limited to 'pkgs/development/libraries/jxrlib')
-rw-r--r-- | pkgs/development/libraries/jxrlib/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jxrlib/default.nix b/pkgs/development/libraries/jxrlib/default.nix new file mode 100644 index 0000000000000..47c87da065bad --- /dev/null +++ b/pkgs/development/libraries/jxrlib/default.nix @@ -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 ]; + }; +} |