diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-09-18 21:55:46 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2021-09-18 22:05:19 +0800 |
commit | dde5b46c5abd66198e56149157e591ae9d729707 (patch) | |
tree | 70603e8a3b0eeba4b3d8a6f7695db6c2677995b0 /pkgs/applications/system/pantheon-tweaks/default.nix | |
parent | 3a00e2e34a3d45afbe2b38b952b4a7fcd631a46c (diff) | |
download | nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar.gz nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar.bz2 nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar.lz nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar.xz nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.tar.zst nixpkgs-dde5b46c5abd66198e56149157e591ae9d729707.zip |
pantheon-tweaks: init at 1.0.1
Diffstat (limited to 'pkgs/applications/system/pantheon-tweaks/default.nix')
-rw-r--r-- | pkgs/applications/system/pantheon-tweaks/default.nix | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/applications/system/pantheon-tweaks/default.nix b/pkgs/applications/system/pantheon-tweaks/default.nix new file mode 100644 index 00000000000..5834e8d9630 --- /dev/null +++ b/pkgs/applications/system/pantheon-tweaks/default.nix @@ -0,0 +1,68 @@ +{ lib +, stdenv +, fetchFromGitHub +, nix-update-script +, meson +, ninja +, pkg-config +, python3 +, vala +, gtk3 +, libgee +, pantheon +}: + +stdenv.mkDerivation rec { + pname = "pantheon-tweaks"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "pantheon-tweaks"; + repo = pname; + rev = version; + sha256 = "sha256-tAfDxX/RD7pO5PN/LaZ92Cj/iZtBI/EHb0+pORfYnPM="; + }; + + patches = [ + ./fix-paths.patch + ]; + + nativeBuildInputs = [ + meson + ninja + pkg-config + python3 + vala + ]; + + buildInputs = [ + gtk3 + libgee + pantheon.granite + pantheon.switchboard + ]; + + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + + meta = with lib; { + description = "Unofficial system settings panel for Pantheon"; + longDescription = '' + Unofficial system settings panel for Pantheon + that lets you easily and safely customise your desktop's appearance. + Use programs.pantheon-tweaks.enable to add this to your switchboard. + ''; + homepage = "https://github.com/pantheon-tweaks/pantheon-tweaks"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = teams.pantheon.members; + }; +} |