3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix

47 lines
830 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, pkgconfig
, vala
, gtk3
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "elementary-print-shim";
2018-08-20 21:31:18 +01:00
version = "0.1.3";
repoName = "print";
2018-08-20 21:31:18 +01:00
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
2018-08-20 21:31:18 +01:00
rev = version;
sha256 = "1w3cfap7j42x14mqpfqdm46hk5xc0v5kv8r6wxcnknr3sfxi8qlp";
};
passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
2018-08-20 21:31:18 +01:00
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
];
buildInputs = [ gtk3 ];
meta = with stdenv.lib; {
description = "Simple shim for printing support via Contractor";
homepage = "https://github.com/elementary/print";
2018-08-20 21:31:18 +01:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}