nixpkgs/pkgs/os-specific/linux/regionset/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
662 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
let version = "0.2"; in
stdenv.mkDerivation {
2019-08-13 21:52:01 +00:00
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";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}