depot/third_party/nixpkgs/pkgs/tools/audio/mpdsync/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
503 B
Nix

{ stdenv, python2, fetchFromGitHub }:
with python2.pkgs;
stdenv.mkDerivation {
name = "mpdsync-2017-06-15";
src = fetchFromGitHub {
owner = "alphapapa";
repo = "mpdsync";
rev = "da90058f44dd9578cc5f2fb96a1fb2b26da40d07";
sha256 = "1mfg3ipqj5dvyyqbgp6ia6sc1ja5gmm2c9mfrwx0jw2dl182if6q";
};
pythonPath = [ mpd2 ];
nativeBuildInputs = [
wrapPython
];
dontBuild = true;
installPhase = "install -D mpdsync.py $out/bin/mpdsync";
postFixup = "wrapPythonPrograms";
}