depot/pkgs/os-specific/linux/regionset/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
693 B
Nix

{ lib, stdenv, fetchurl }:
let version = "0.2"; in
stdenv.mkDerivation {
pname = "regionset";
inherit version;
src = fetchurl {
url = "http://linvdr.org/download/regionset/regionset-${version}.tar.gz";
sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d";
};
installPhase = ''
install -Dm755 {.,$out/bin}/regionset
install -Dm644 {.,$out/share/man/man8}/regionset.8
'';
meta = with lib; {
inherit version;
homepage = "http://linvdr.org/projects/regionset/";
description = "Tool for changing the region code setting of DVD players";
mainProgram = "regionset";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}