3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/npapi-sdk/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

22 lines
540 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "npapi-sdk";
version = "0.27.2";
src = fetchurl {
url = "https://bitbucket.org/mgorny/npapi-sdk/downloads/${pname}-${version}.tar.bz2";
sha256 = "0xxfcsjmmgbbyl9zwpzdshbx27grj5fnzjfmldmm9apws2yk9gq1";
};
meta = with stdenv.lib; {
description = "A bundle of NPAPI headers by Mozilla";
homepage = https://bitbucket.org/mgorny/npapi-sdk; # see also https://github.com/mozilla/npapi-sdk
license = licenses.bsd3;
platforms = platforms.linux;
};
}