Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fcb425427688
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 841e2ed5470d
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 3, 2018

  1. run-scaled: init at 2018-06-03 (#44385)

    * run-scaled: init at 2018-06-03
    
    * run-scaled: change platform from linux to unix to match dependencies
    snaar authored and xeji committed Aug 3, 2018
    Copy the full SHA
    841e2ed View commit details
Showing with 37 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +30 −0 pkgs/tools/X11/run-scaled/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3688,6 +3688,11 @@
github = "s-na";
name = "S. Nordin Abouzahra";
};
snaar = {
email = "snaar@snaar.net";
github = "snaar";
name = "Serguei Narojnyi";
};
snyh = {
email = "snyh@snyh.org";
github = "snyh";
30 changes: 30 additions & 0 deletions pkgs/tools/X11/run-scaled/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, makeWrapper, bc, xorgserver, xpra, xrandr }:

stdenv.mkDerivation rec {
version = "git-2018-06-03";
name = "run-scaled-${version}";

src = fetchFromGitHub {
owner = "kaueraal";
repo = "run_scaled";
rev = "fa71b3c17e627a96ff707ad69f1def5361f2245c";
sha256 = "1ma4ax7ydq4xvyzrc4zapihmf7v3d9zl9mbi8bgpps7nlgz544ys";
};

buildInputs = [ makeWrapper ];

installPhase = ''
mkdir -p $out/bin
cp run_scaled $out/bin
wrapProgram $out/bin/run_scaled --prefix PATH ":" \
${stdenv.lib.makeBinPath [ bc xorgserver xpra xrandr ]}
'';

meta = with stdenv.lib; {
description = "Run an X application scaled via xpra";
homepage = https://github.com/kaueraal/run_scaled;
maintainers = [ maintainers.snaar ];
license = licenses.bsd3;
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -21558,6 +21558,8 @@ with pkgs;

rss-glx = callPackage ../misc/screensavers/rss-glx { };

run-scaled = callPackage ../tools/X11/run-scaled { };

runit = callPackage ../tools/system/runit { };

refind = callPackage ../tools/bootloaders/refind { };