0b59f4212c
The same way we want them in GNOME in nixpkgs. Didn't touch the greeter expression because I have a branch where it's already rewritten.
48 lines
838 B
Nix
48 lines
838 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pantheon
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, vala
|
|
, gtk3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-print-shim";
|
|
version = "0.1.3";
|
|
|
|
repoName = "print";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = repoName;
|
|
rev = version;
|
|
sha256 = "1w3cfap7j42x14mqpfqdm46hk5xc0v5kv8r6wxcnknr3sfxi8qlp";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
inherit repoName;
|
|
attrPath = pname;
|
|
};
|
|
};
|
|
|
|
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;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|