nixpkgs/pkgs/os-specific/linux/regionset/default.nix
Tobias Geerinckx-Rice 5904738557 regionset: 20030629 -> 0.2
Later version with cleaned-up code and a very basic man page.
2016-01-13 03:30:56 +01:00

25 lines
654 B
Nix

{ stdenv, fetchurl }:
let version = "0.2"; in
stdenv.mkDerivation {
name = "regionset-${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 stdenv.lib; {
inherit version;
homepage = http://linvdr.org/projects/regionset/;
descriptions = "Tool for changing the region code setting of DVD players";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}